Add a possibly complete Issue Index to Collection form
This commit is contained in:
parent
60122d37b1
commit
31836eafc4
2 changed files with 37 additions and 8 deletions
|
@ -9,10 +9,12 @@ migration_tags:
|
||||||
- 'Drupal 7'
|
- 'Drupal 7'
|
||||||
- Content
|
- Content
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Nodes (Issue article)'
|
label: 'Nodes (Issue index)'
|
||||||
source:
|
source:
|
||||||
plugin: d7_node
|
plugin: d7_node
|
||||||
node_type: issue_index
|
node_type: issue_index
|
||||||
|
constants:
|
||||||
|
collection_type_tid: 299
|
||||||
process:
|
process:
|
||||||
nid:
|
nid:
|
||||||
-
|
-
|
||||||
|
@ -109,12 +111,7 @@ process:
|
||||||
source: taxonomy_vocabulary_2
|
source: taxonomy_vocabulary_2
|
||||||
process:
|
process:
|
||||||
target_id: tid
|
target_id: tid
|
||||||
field_article_type:
|
field_collection_type/target_id: constants/collection_type_tid
|
||||||
-
|
|
||||||
plugin: sub_process
|
|
||||||
source: taxonomy_vocabulary_3
|
|
||||||
process:
|
|
||||||
target_id: tid
|
|
||||||
# taxonomy_vocabulary_5:
|
# taxonomy_vocabulary_5:
|
||||||
# -
|
# -
|
||||||
# plugin: sub_process
|
# plugin: sub_process
|
||||||
|
@ -183,7 +180,7 @@ process:
|
||||||
default_value: 0
|
default_value: 0
|
||||||
destination:
|
destination:
|
||||||
plugin: 'entity:node'
|
plugin: 'entity:node'
|
||||||
default_bundle: article
|
default_bundle: collection
|
||||||
migration_dependencies:
|
migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- upgrade_d7_user
|
- upgrade_d7_user
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
id: upgrade_d7_node_issueindex_body_paragraph
|
||||||
|
migration_group: migrate_drupal_7_geo
|
||||||
|
label: Body paragraph
|
||||||
|
source:
|
||||||
|
plugin: d7_node
|
||||||
|
node_type: issue_index
|
||||||
|
process:
|
||||||
|
uid:
|
||||||
|
- plugin: get
|
||||||
|
source: node_uid
|
||||||
|
status: status
|
||||||
|
created: created
|
||||||
|
parent_type: "node"
|
||||||
|
field_text:
|
||||||
|
-
|
||||||
|
plugin: sub_process
|
||||||
|
source: body
|
||||||
|
process:
|
||||||
|
value: value
|
||||||
|
format:
|
||||||
|
plugin: default_value
|
||||||
|
default_value: 'full_html'
|
||||||
|
destination:
|
||||||
|
plugin: 'entity_reference_revisions:paragraph'
|
||||||
|
default_bundle: text
|
||||||
|
dependencies:
|
||||||
|
enforced:
|
||||||
|
module:
|
||||||
|
- paragraphs
|
||||||
|
migration_dependencies:
|
||||||
|
required:
|
||||||
|
- upgrade_d7_user
|
Loading…
Add table
Reference in a new issue