Merge all the topics into a single field in the blogs and stories

This commit is contained in:
David Valdez 2019-09-30 13:18:59 -05:00
parent e227fe154c
commit 5d213f8c63
2 changed files with 19 additions and 0 deletions

View file

@ -119,6 +119,15 @@ process:
# source: taxonomy_vocabulary_3 # source: taxonomy_vocabulary_3
# process: # process:
# target_id: tid # target_id: tid
field_topics:
- plugin: merge
source:
- '@field_regions'
- '@field_visions_models'
- '@field_practices_tools_strategies'
- '@field_movements_struggles'
- '@field_institutions_structures'
- '@field_economic_sectors'
paragraph_body: paragraph_body:
plugin: migration plugin: migration
migration: upgrade_d7_node_blog_body_paragraph migration: upgrade_d7_node_blog_body_paragraph

View file

@ -127,6 +127,15 @@ process:
# source: taxonomy_vocabulary_8 # source: taxonomy_vocabulary_8
# process: # process:
# target_id: tid # target_id: tid
field_topics:
- plugin: merge
source:
- '@field_regions'
- '@field_visions_models'
- '@field_practices_tools_strategies'
- '@field_movements_struggles'
- '@field_institutions_structures'
- '@field_economic_sectors'
paragraph_body: paragraph_body:
plugin: migration plugin: migration
migration: upgrade_d7_node_story_body_paragraph migration: upgrade_d7_node_story_body_paragraph
@ -224,6 +233,7 @@ migration_dependencies:
- upgrade_d7_user - upgrade_d7_user
- upgrade_d7_taxonomy_term_vocabulary_1 - upgrade_d7_taxonomy_term_vocabulary_1
- upgrade_d7_taxonomy_term_vocabulary_2 - upgrade_d7_taxonomy_term_vocabulary_2
- upgrade_d7_taxonomy_term_vocabulary_3
- upgrade_d7_taxonomy_term_vocabulary_7 - upgrade_d7_taxonomy_term_vocabulary_7
- upgrade_d7_taxonomy_term_vocabulary_10 - upgrade_d7_taxonomy_term_vocabulary_10
- upgrade_d7_taxonomy_term_vocabulary_12 - upgrade_d7_taxonomy_term_vocabulary_12