Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

d6_language_content_menu_settings.yml

core/modules/language/migrations/d6_language_content_menu_settings.yml

File

core/modules/language/migrations/d6_language_content_menu_settings.yml

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal