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:
constants:
vocabulary: article_type
parent: 0
plugin: d7_taxonomy_term
bundle: vocabulary_3
process:
@ -45,7 +46,7 @@ process:
-
plugin: get
source: weight
parent: '0'
parent: constants/parent
forum_container:
-
plugin: get

View file

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