You are here

d7_menu_translation.yml in Drupal 9

Same filename and directory in other branches
  1. 10 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. migration_dependencies:
  30. required:
  31. - language
  32. - d7_menu