You are here

panopoly_demo_menu.yml in Panopoly 8.2

modules/panopoly/panopoly_demo/migrations/panopoly_demo_menu.yml

File

modules/panopoly/panopoly_demo/migrations/panopoly_demo_menu.yml
View source
  1. id: panopoly_demo_menu
  2. label: 'Import menu for Panopoly Demo'
  3. migration_group: 'Panopoly Demo'
  4. migration_tags:
  5. - 'Panopoly Demo'
  6. migration_dependencies:
  7. required:
  8. - panopoly_demo_node
  9. source:
  10. plugin: embedded_data
  11. ids:
  12. mlid:
  13. type: integer
  14. data_rows:
  15. # @todo: this menu link should come from page_manager once that's supported.
  16. - mlid: 1
  17. path: 'internal:/demo'
  18. title: 'Homepage Demo'
  19. parent: 0
  20. weight: -10
  21. - mlid: 2
  22. path: 'internal:/content/content-demo'
  23. title: 'Content Demo'
  24. parent: 0
  25. weight: 0
  26. - mlid: 3
  27. path: 'internal:/content/great-vegetables'
  28. title: 'Great Vegetables'
  29. parent: 0
  30. weight: 0
  31. - mlid: 4
  32. path: 'internal:/content/lovely-vegetables'
  33. title: 'Lovely Vegetables'
  34. parent: 0
  35. weight: 0
  36. destination:
  37. plugin: entity:menu_link_content
  38. process:
  39. title: title
  40. 'link/uri': path
  41. weight: weight
  42. menu_name:
  43. plugin: default_value
  44. default_value: main