You are here

d7_menu_links_localized.yml in Drupal 9

core/modules/content_translation/migrations/d7_menu_links_localized.yml

File

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