14e829fd66
Also, the user migration was updated to migrate the data of these fields.
49 lines
967 B
YAML
49 lines
967 B
YAML
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:
|
|
-
|
|
plugin: migration_lookup
|
|
migration: agaric_user
|
|
source: node_uid
|
|
no_stub: true
|
|
-
|
|
plugin: skip_on_empty
|
|
method: row
|
|
paragraph_body:
|
|
plugin: migration
|
|
migration: agaric_page_paragraph
|
|
source: nid
|
|
field_body_paragraph:
|
|
plugin: iterator
|
|
source:
|
|
- '@paragraph_body'
|
|
process:
|
|
target_id: '0'
|
|
target_revision_id: '1'
|
|
status: status
|
|
created: created
|
|
changed: changed
|
|
promote: promote
|
|
sticky: sticky
|
|
revision_uid: revision_uid
|
|
revision_log: log
|
|
revision_timestamp: timestamp
|
|
migration_dependencies:
|
|
required:
|
|
- agaric_user
|
|
- agaric_page_paragraph
|