d7_language_content_menu_settings.yml

Same filename in other branches
  1. 9 core/modules/language/migrations/d7_language_content_menu_settings.yml
  2. 11.x core/modules/language/migrations/d7_language_content_menu_settings.yml
core/modules/language/migrations/d7_language_content_menu_settings.yml

File

core/modules/language/migrations/d7_language_content_menu_settings.yml

View source
  1. id: d7_language_content_menu_settings
  2. label: Drupal 7 language content menu settings
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: extension
  8. name: i18n_menu
  9. constants:
  10. target_type: menu_link_content
  11. langcode: site_default
  12. enabled: true
  13. hide: 0
  14. process:
  15. target_entity_type_id: constants/target_type
  16. # menu_link_content has a bundle key but no bundle support so use the entity
  17. # type as the bundle.
  18. target_bundle: constants/target_type
  19. default_langcode: constants/langcode
  20. # Drupal 7 menus are translated when the i18n_menu module is enabled.
  21. language_alterable: status
  22. third_party_settings/content_translation/enabled: constants/enabled
  23. third_party_settings/content_translation/bundle_settings/untranslatable_fields_hide: constants/hide
  24. destination:
  25. plugin: entity:language_content_settings
  26. migration_dependencies:
  27. required:
  28. - language

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.