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.
266 lines
8.5 KiB
266 lines
8.5 KiB
2 years ago
|
uuid: 542a8e33-95e4-4583-9f55-a57292f2ffa2
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_comment
|
||
|
class: Drupal\comment\Plugin\migrate\D7Comment
|
||
|
field_plugin_method: null
|
||
|
cck_plugin_method: null
|
||
|
migration_tags:
|
||
|
- 'Drupal 7'
|
||
|
- Content
|
||
|
migration_group: migrate_drupal_7
|
||
|
label: Comments
|
||
|
source:
|
||
|
plugin: d7_comment
|
||
|
constants:
|
||
|
entity_type: node
|
||
|
process:
|
||
|
cid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: cid
|
||
|
pid:
|
||
|
-
|
||
|
plugin: skip_on_empty
|
||
|
method: process
|
||
|
source: pid
|
||
|
-
|
||
|
plugin: migration_lookup
|
||
|
migration: upgrade_d7_comment
|
||
|
entity_id:
|
||
|
-
|
||
|
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
|
||
|
source: nid
|
||
|
-
|
||
|
plugin: node_complete_node_lookup
|
||
|
-
|
||
|
plugin: skip_on_empty
|
||
|
method: row
|
||
|
entity_type:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: constants/entity_type
|
||
|
-
|
||
|
plugin: static_map
|
||
|
map:
|
||
|
field_collection_item: paragraph
|
||
|
paragraphs_item: paragraph
|
||
|
bypass: true
|
||
|
comment_type:
|
||
|
-
|
||
|
plugin: migration_lookup
|
||
|
source: node_type
|
||
|
migration: upgrade_d7_comment_type
|
||
|
-
|
||
|
plugin: skip_on_empty
|
||
|
method: row
|
||
|
langcode:
|
||
|
-
|
||
|
plugin: default_value
|
||
|
source: language
|
||
|
default_value: und
|
||
|
field_name:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: '@comment_type'
|
||
|
subject:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: subject
|
||
|
uid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: uid
|
||
|
name:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: name
|
||
|
mail:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: mail
|
||
|
homepage:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: homepage
|
||
|
hostname:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: hostname
|
||
|
created:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: created
|
||
|
changed:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: changed
|
||
|
status:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: status
|
||
|
thread:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: thread
|
||
|
comment_body:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: comment_body
|
||
|
destination:
|
||
|
plugin: 'entity:comment'
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- 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_comment_type
|
||
|
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_field_collection_type
|
||
|
- upgrade_d7_paragraphs_type
|
||
|
- upgrade_d7_comment
|
||
|
- upgrade_d7_comment_type
|
||
|
- 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
|