You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
3.5 KiB

uuid: 1ba0b847-d56c-42c8-813c-8b89f0be08d0
langcode: en
status: true
dependencies: { }
id: upgrade_d7_menu_links
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
migration_group: migrate_drupal_7
label: 'Menu links'
source:
plugin: menu_link
constants:
bundle: menu_link_content
process:
skip_translation:
-
plugin: skip_on_empty
method: row
source: skip_translation
id:
-
plugin: get
source: mlid
langcode:
-
plugin: default_value
source: language
default_value: und
bundle:
-
plugin: get
source: constants/bundle
title:
-
plugin: get
source: link_title
description:
-
plugin: get
source: description
menu_name:
-
plugin: migration_lookup
migration: upgrade_d7_menu
source: menu_name
-
plugin: skip_on_empty
method: row
link/uri:
-
plugin: link_uri
source: link_path
link/options:
-
plugin: get
source: options
route:
-
plugin: route
source:
- link_path
- options
route_name:
-
plugin: get
source: '@route/route_name'
route_parameters:
-
plugin: get
source: '@route/route_parameters'
url:
-
plugin: get
source: '@route/url'
options:
-
plugin: get
source: '@route/options'
external:
-
plugin: get
source: external
weight:
-
plugin: get
source: weight
expanded:
-
plugin: get
source: expanded
enabled:
-
plugin: get
source: enabled
parent:
-
plugin: menu_link_parent
source:
- plid
- '@menu_name'
- parent_link_path
changed:
-
plugin: get
source: updated
destination:
plugin: 'entity:menu_link_content'
no_stub: true
migration_dependencies:
required:
- upgrade_d7_menu
optional:
- upgrade_d7_node_complete_article
- upgrade_d7_node_complete_ask_us
- upgrade_d7_node_complete_basic_page_with_accordion_q_a
- upgrade_d7_node_complete_bestbet
- upgrade_d7_node_complete_book
- upgrade_d7_node_complete_book_covers
- upgrade_d7_node_complete_calendar
- upgrade_d7_node_complete_course_reserve
- upgrade_d7_node_complete_database
- upgrade_d7_node_complete_digitization_equipment
- upgrade_d7_node_complete_diy_guide
- upgrade_d7_node_complete_event
- upgrade_d7_node_complete_feed
- upgrade_d7_node_complete_feed_item
- upgrade_d7_node_complete_front_page
- upgrade_d7_node_complete_guide_categories
- upgrade_d7_node_complete_h5p_content
- upgrade_d7_node_complete_hours
- upgrade_d7_node_complete_landing_page_paragraphs
- upgrade_d7_node_complete_landing_page_slides
- upgrade_d7_node_complete_opentextbook
- upgrade_d7_node_complete_page
- upgrade_d7_node_complete_page_full_width_block
- upgrade_d7_node_complete_people
- upgrade_d7_node_complete_primary_page
- upgrade_d7_node_complete_quicktab_node
- upgrade_d7_node_complete_test
- upgrade_d7_node_complete_test_playlist_node
- upgrade_d7_node_complete_textbook_champion
- upgrade_d7_node_complete_tutorial_playlist_video
- upgrade_d7_node_complete_tutorial_video
- upgrade_d7_node_complete_tutorial_video_gallery
- upgrade_d7_node_complete_video_chapters
- upgrade_d7_node_complete_webform
- upgrade_d7_node_complete_weekly_hours
- upgrade_d7_node_complete_workshops
- upgrade_d7_menu