Fix in the terms migrations.

The parent is now a constant in the migrations that have a fixed parent.
This commit is contained in:
David Valdez 2019-08-30 19:51:37 -05:00
parent b4843fe298
commit d4396c96c0
2 changed files with 4 additions and 2 deletions

View file

@ -13,6 +13,7 @@ label: 'Taxonomy terms (Departments)'
source: source:
constants: constants:
vocabulary: article_type vocabulary: article_type
parent: 0
plugin: d7_taxonomy_term plugin: d7_taxonomy_term
bundle: vocabulary_3 bundle: vocabulary_3
process: process:
@ -45,7 +46,7 @@ process:
- -
plugin: get plugin: get
source: weight source: weight
parent: '0' parent: constants/parent
forum_container: forum_container:
- -
plugin: get plugin: get

View file

@ -13,6 +13,7 @@ label: 'Taxonomy vocabularies'
source: source:
constants: constants:
vocabulary: topics vocabulary: topics
parent: 0
plugin: d7_taxonomy_vocabulary plugin: d7_taxonomy_vocabulary
process: process:
vid: constants/vocabulary vid: constants/vocabulary
@ -39,7 +40,7 @@ process:
- -
plugin: get plugin: get
source: weight source: weight
parent: '0' parent: constants/vocabulary
destination: destination:
plugin: 'entity:taxonomy_term' plugin: 'entity:taxonomy_term'
default_bundle: topics default_bundle: topics