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.
124 lines
2.2 KiB
124 lines
2.2 KiB
2 years ago
|
uuid: 36d6cedb-fd49-4892-adf4-844e7ef03a7b
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_node_complete_opentextbook
|
||
|
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 (OpenTextbook)'
|
||
|
source:
|
||
|
plugin: d7_node_complete
|
||
|
node_type: opentextbook
|
||
|
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_opentextbook/0/status:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: comment
|
||
|
body:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: body
|
||
|
field_file:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_file
|
||
|
process:
|
||
|
target_id: fid
|
||
|
display: display
|
||
|
description: description
|
||
|
field_department:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_department
|
||
|
process:
|
||
|
target_id: tid
|
||
|
field_program:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_program
|
||
|
process:
|
||
|
target_id: tid
|
||
|
field_subjects:
|
||
|
-
|
||
|
plugin: sub_process
|
||
|
source: field_subjects
|
||
|
process:
|
||
|
target_id: tid
|
||
|
field_moodle_course_id:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: field_moodle_course_id
|
||
|
destination:
|
||
|
plugin: 'entity_complete:node'
|
||
|
translations: true
|
||
|
default_bundle: opentextbook
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- upgrade_d7_user
|
||
|
- upgrade_d7_node_type
|
||
|
optional:
|
||
|
- upgrade_d7_field_instance
|
||
|
- upgrade_d7_comment_field_instance
|