Fix in the terms migrations.
The parent is now a constant in the migrations that have a fixed parent.
This commit is contained in:
parent
b4843fe298
commit
d4396c96c0
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue