migrate_plus.migration.upgrade_d6_language_content_settings.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. uuid: c59681b6-5eb5-49da-bca7-865657e9587d
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_language_content_settings
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. migration_group: migrate_drupal_6
  12. label: 'Drupal 6 language content settings'
  13. source:
  14. plugin: d6_language_content_settings
  15. constants:
  16. target_type: node
  17. process:
  18. target_bundle: type
  19. target_entity_type_id: constants/target_type
  20. default_langcode:
  21. -
  22. plugin: static_map
  23. source: language_content_type
  24. map:
  25. - null
  26. - current_interface
  27. - current_interface
  28. -
  29. plugin: skip_on_empty
  30. method: row
  31. language_alterable:
  32. plugin: static_map
  33. source: i18n_lock_node
  34. map:
  35. - true
  36. - false
  37. third_party_settings/content_translation/enabled:
  38. plugin: static_map
  39. source: language_content_type
  40. map:
  41. - null
  42. - false
  43. - true
  44. destination:
  45. plugin: 'entity:language_content_settings'
  46. content_translation_update_definitions:
  47. - node
  48. migration_dependencies:
  49. required:
  50. - upgrade_d6_node_type
  51. optional: { }