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.

175 lines
6.0 KiB

2 years ago
uuid: 4bffcfdc-3bb2-4c31-9140-9f910f081790
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_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
-
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'
migration_dependencies:
required: { }
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_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