2018-08-23 17:00:54 +00:00
|
|
|
id: agaric_page
|
|
|
|
migration_group: agaric
|
|
|
|
label: Agaric Pages
|
|
|
|
source:
|
|
|
|
plugin: d7_node
|
|
|
|
node_type: page
|
|
|
|
destination:
|
|
|
|
plugin: entity:node
|
|
|
|
process:
|
|
|
|
type:
|
|
|
|
plugin: default_value
|
|
|
|
default_value: page
|
|
|
|
langcode:
|
|
|
|
plugin: default_value
|
|
|
|
source: language
|
|
|
|
default_value: "und"
|
|
|
|
title: title
|
|
|
|
uid:
|
2018-08-28 23:20:36 +00:00
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
|
|
|
migration: agaric_user
|
|
|
|
source: node_uid
|
|
|
|
no_stub: true
|
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: row
|
2018-08-23 17:00:54 +00:00
|
|
|
paragraph_body:
|
|
|
|
plugin: migration
|
|
|
|
migration: agaric_page_paragraph
|
|
|
|
source: nid
|
|
|
|
field_body_paragraph:
|
|
|
|
plugin: iterator
|
|
|
|
source:
|
2018-08-28 23:20:36 +00:00
|
|
|
- '@paragraph_body'
|
2018-08-23 17:00:54 +00:00
|
|
|
process:
|
|
|
|
target_id: '0'
|
|
|
|
target_revision_id: '1'
|
2018-08-30 17:53:40 +00:00
|
|
|
field_image:
|
|
|
|
-
|
|
|
|
plugin: iterator
|
|
|
|
source: field_image
|
|
|
|
process:
|
|
|
|
target_id:
|
|
|
|
plugin: migration_lookup
|
|
|
|
migration: agaric_file
|
|
|
|
source: fid
|
|
|
|
alt: alt
|
|
|
|
title: title
|
|
|
|
height: height
|
|
|
|
width: width
|
|
|
|
field_file:
|
|
|
|
-
|
|
|
|
plugin: iterator
|
|
|
|
source: field_file
|
|
|
|
process:
|
|
|
|
target_id:
|
|
|
|
plugin: migration_lookup
|
|
|
|
source: fid
|
2018-08-23 17:00:54 +00:00
|
|
|
status: status
|
|
|
|
created: created
|
|
|
|
changed: changed
|
|
|
|
promote: promote
|
|
|
|
sticky: sticky
|
|
|
|
revision_uid: revision_uid
|
|
|
|
revision_log: log
|
|
|
|
revision_timestamp: timestamp
|
|
|
|
migration_dependencies:
|
|
|
|
required:
|
2018-08-28 23:20:36 +00:00
|
|
|
- agaric_user
|
|
|
|
- agaric_page_paragraph
|