From 5d213f8c632f0cf53eb7ab374e0ddcb39c7a8bd8 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 30 Sep 2019 13:18:59 -0500 Subject: [PATCH] Merge all the topics into a single field in the blogs and stories --- .../geo_upgrade/migrations/upgrade_d7_node_blog.yml | 9 +++++++++ .../geo_upgrade/migrations/upgrade_d7_node_story.yml | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_blog.yml b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_blog.yml index 7566df6..7d5ef88 100644 --- a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_blog.yml +++ b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_blog.yml @@ -119,6 +119,15 @@ process: # source: taxonomy_vocabulary_3 # process: # 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: plugin: migration migration: upgrade_d7_node_blog_body_paragraph diff --git a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_story.yml b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_story.yml index f6ea663..d31cfcb 100644 --- a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_story.yml +++ b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_node_story.yml @@ -127,6 +127,15 @@ process: # source: taxonomy_vocabulary_8 # process: # 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: plugin: migration migration: upgrade_d7_node_story_body_paragraph @@ -224,6 +233,7 @@ migration_dependencies: - upgrade_d7_user - upgrade_d7_taxonomy_term_vocabulary_1 - upgrade_d7_taxonomy_term_vocabulary_2 + - upgrade_d7_taxonomy_term_vocabulary_3 - upgrade_d7_taxonomy_term_vocabulary_7 - upgrade_d7_taxonomy_term_vocabulary_10 - upgrade_d7_taxonomy_term_vocabulary_12