You are here

d7_language_content_menu_settings.yml in Drupal 9

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