d7_menu_translation.yml

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

File

core/modules/config_translation/migrations/d7_menu_translation.yml

View source
  1. id: d7_menu_translation
  2. label: Menu translation
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d7_menu_translation
  9. process:
  10. id:
  11. -
  12. plugin: migration_lookup
  13. migration: d7_menu
  14. source: menu_name
  15. -
  16. plugin: skip_on_empty
  17. method: row
  18. langcode: language
  19. property:
  20. plugin: static_map
  21. source: property
  22. map:
  23. title: label
  24. description: description
  25. translation: translation
  26. destination:
  27. plugin: entity:menu
  28. destination_module: config_translation
  29. translations: true
  30. migration_dependencies:
  31. required:
  32. - language
  33. - d7_menu

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