d7_menu_links_localized.yml

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

File

core/modules/content_translation/migrations/d7_menu_links_localized.yml

View source
  1. # cspell:ignore mlid
  2. id: d7_menu_links_localized
  3. label: Menu links
  4. migration_tags:
  5. - Drupal 7
  6. - Content
  7. - Multilingual
  8. source:
  9. plugin: d7_menu_link_localized
  10. constants:
  11. bundle: menu_link_content
  12. process:
  13. skip_translation:
  14. plugin: skip_on_empty
  15. method: row
  16. source: skip_source_translation
  17. exists:
  18. -
  19. plugin: migration_lookup
  20. migration: d7_menu_links
  21. source: mlid
  22. -
  23. plugin: skip_on_empty
  24. method: row
  25. id: mlid
  26. langcode: language
  27. title: link_title
  28. description: description
  29. menu_name:
  30. -
  31. plugin: migration_lookup
  32. migration: d7_menu
  33. source: menu_name
  34. -
  35. plugin: skip_on_empty
  36. method: row
  37. destination:
  38. plugin: entity:menu_link_content
  39. no_stub: true
  40. translations: true
  41. destination_module: content_translation
  42. migration_dependencies:
  43. required:
  44. - language
  45. - d7_language_content_menu_settings
  46. - d7_menu_links

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