uuid: 6bb81150-e892-44ca-b314-6f7a59c429d7
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_url_alias
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: migrate_drupal_7
label: 'URL aliases'
source:
  plugin: d7_url_alias
  constants:
    slash: /
process:
  id:
    -
      plugin: get
      source: pid
  _path:
    -
      plugin: concat
      source:
        - constants/slash
        - source
  alias:
    -
      plugin: concat
      source:
        - constants/slash
        - alias
  node_translation:
    -
      plugin: explode
      source: source
      delimiter: /
    -
      plugin: extract
      default: INVALID_NID
      index:
        - 1
    -
      plugin: migration_lookup
      migration:
        - 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
    -
      plugin: node_complete_node_translation_lookup
  langcode:
    -
      plugin: null_coalesce
      source:
        - '@node_translation/1'
        - language
  path:
    -
      plugin: path_set_translated
      source:
        - '@_path'
        - '@node_translation'
destination:
  plugin: 'entity:path_alias'
idMap: null
migration_dependencies:
  required: {  }
  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_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
include: null
