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.
133 lines
2.7 KiB
133 lines
2.7 KiB
2 years ago
|
uuid: ffbac694-2bb1-49bf-a370-01a304139937
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_node_complete_video_chapters
|
||
|
class: Drupal\node\Plugin\migrate\D7NodeTranslation
|
||
|
field_plugin_method: null
|
||
|
cck_plugin_method: null
|
||
|
migration_tags:
|
||
|
- 'Drupal 7'
|
||
|
- Content
|
||
|
migration_group: migrate_drupal_7
|
||
|
label: 'Node complete (Video with Chapter Points)'
|
||
|
source:
|
||
|
plugin: d7_node_complete
|
||
|
node_type: video_chapters
|
||
|
process:
|
||
|
nid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: tnid
|
||
|
vid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: vid
|
||
|
langcode:
|
||
|
-
|
||
|
plugin: default_value
|
||
|
source: language
|
||
|
default_value: und
|
||
|
title:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: title
|
||
|
uid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: node_uid
|
||
|
status:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: status
|
||
|
created:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: created
|
||
|
changed:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: timestamp
|
||
|
promote:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: promote
|
||
|
sticky:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: sticky
|
||
|
revision_uid:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: revision_uid
|
||
|
revision_log:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: log
|
||
|
revision_timestamp:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: timestamp
|
||
|
content_translation_source:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: source_langcode
|
||
|
comment_node_video_chapters/0/status:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: comment
|
||
|
field_play_location:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_play_location
|
||
|
process:
|
||
|
target_id:
|
||
|
-
|
||
|
plugin: paragraphs_lookup
|
||
|
tags: 'Field Collection Content'
|
||
|
source: value
|
||
|
-
|
||
|
plugin: extract
|
||
|
index:
|
||
|
- id
|
||
|
target_revision_id:
|
||
|
-
|
||
|
plugin: paragraphs_lookup
|
||
|
tags:
|
||
|
- 'Field Collection Revisions Content'
|
||
|
- 'Field Collection Content'
|
||
|
tag_ids:
|
||
|
'Field Collection Revisions Content':
|
||
|
- revision_id
|
||
|
'Field Collection Content':
|
||
|
- value
|
||
|
-
|
||
|
plugin: extract
|
||
|
index:
|
||
|
- revision_id
|
||
|
field_video_link:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: field_video_link
|
||
|
field_video_upload:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_video_upload
|
||
|
process:
|
||
|
target_id: fid
|
||
|
display: display
|
||
|
description: description
|
||
|
destination:
|
||
|
plugin: 'entity_complete:node'
|
||
|
translations: true
|
||
|
default_bundle: video_chapters
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- upgrade_d7_user
|
||
|
- upgrade_d7_node_type
|
||
|
- upgrade_d7_field_collection_play_location
|
||
|
- upgrade_d7_field_collection_revisions_play_location
|
||
|
optional:
|
||
|
- upgrade_d7_field_instance
|
||
|
- upgrade_d7_comment_field_instance
|