Further changes for the Use cases on the live site.
[yaffs-website] / web / core / modules / menu_link_content / migration_templates / d7_menu_links.yml
1 id: d7_menu_links
2 label: Menu links
3 migration_tags:
4   - Drupal 7
5 source:
6   plugin: menu_link
7   constants:
8     bundle: menu_link_content
9 process:
10   id: mlid
11   bundle: 'constants/bundle'
12   title: link_title
13   description: description
14   menu_name:
15     -
16       plugin: migration_lookup
17       migration: d7_menu
18       source: menu_name
19     -
20       plugin: skip_on_empty
21       method: row
22   'link/uri':
23     plugin: link_uri
24     source:
25       - link_path
26   'link/options': options
27   route:
28     plugin: route
29     source:
30       - link_path
31       - options
32   route_name: '@route/route_name'
33   route_parameters: '@route/route_parameters'
34   url: '@route/url'
35   options: '@route/options'
36   external: external
37   weight: weight
38   expanded: expanded
39   enabled: enabled
40   parent:
41     plugin: menu_link_parent
42     source:
43       - plid
44       - '@menu_name'
45       - parent_link_path
46   changed: updated
47 destination:
48   plugin: entity:menu_link_content
49   no_stub: true
50 migration_dependencies:
51   required:
52     - d7_menu