uuid: 6e946583-9767-4c9d-ab2b-1d205ec76217
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
idMap: null
migration_dependencies:
  required:
    - upgrade_d7_menu
  optional:
    - upgrade_d7_node_complete_advpoll
    - upgrade_d7_node_complete_blog_post
    - upgrade_d7_node_complete_book
    - upgrade_d7_node_complete_faq
    - upgrade_d7_node_complete_h5p_content
    - upgrade_d7_node_complete_nd_blog
    - upgrade_d7_node_complete_nd_project
    - upgrade_d7_node_complete_nd_service
    - upgrade_d7_node_complete_nd_team
    - upgrade_d7_node_complete_newsletter
    - upgrade_d7_node_complete_original_videos
    - upgrade_d7_node_complete_page
    - upgrade_d7_node_complete_product_display
    - upgrade_d7_node_complete_simpleads
    - upgrade_d7_node_complete_simpleads_campaign
    - upgrade_d7_node_complete_story_saturday
    - upgrade_d7_node_complete_tutorial
    - upgrade_d7_node_complete_video_friday
    - upgrade_d7_node_complete_webform
    - upgrade_d7_menu
include: null
