Issue #3371869 by quietone: Fix dependencies of taxonomy term translation migrations
parent
2e06d213c0
commit
04900c3cae
|
@ -29,3 +29,5 @@ migration_dependencies:
|
||||||
- language
|
- language
|
||||||
- d7_entity_translation_settings
|
- d7_entity_translation_settings
|
||||||
- d7_taxonomy_term
|
- d7_taxonomy_term
|
||||||
|
optional:
|
||||||
|
- d7_language_content_taxonomy_vocabulary_settings
|
||||||
|
|
|
@ -45,3 +45,5 @@ migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- language
|
- language
|
||||||
- d7_taxonomy_term
|
- d7_taxonomy_term
|
||||||
|
optional:
|
||||||
|
- d7_language_content_taxonomy_vocabulary_settings
|
||||||
|
|
|
@ -42,3 +42,5 @@ migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- language
|
- language
|
||||||
- d7_taxonomy_term
|
- d7_taxonomy_term
|
||||||
|
optional:
|
||||||
|
- d7_language_content_taxonomy_vocabulary_settings
|
||||||
|
|
|
@ -18,6 +18,22 @@ process:
|
||||||
-
|
-
|
||||||
plugin: skip_on_empty
|
plugin: skip_on_empty
|
||||||
method: row
|
method: row
|
||||||
|
_skip:
|
||||||
|
-
|
||||||
|
plugin: concat
|
||||||
|
source:
|
||||||
|
- 'constants/target_type'
|
||||||
|
- '@target_bundle'
|
||||||
|
delimiter: .
|
||||||
|
-
|
||||||
|
plugin: migration_lookup
|
||||||
|
migration: d7_entity_translation_settings
|
||||||
|
-
|
||||||
|
plugin: callback
|
||||||
|
callable: is_null
|
||||||
|
-
|
||||||
|
plugin: skip_on_empty
|
||||||
|
method: row
|
||||||
# State is the value in the i18n_mode column of taxonomy_vocabulary table
|
# State is the value in the i18n_mode column of taxonomy_vocabulary table
|
||||||
# 0: No multilingual options.
|
# 0: No multilingual options.
|
||||||
# 1: Localize. Localizable object. Run through the localization system
|
# 1: Localize. Localizable object. Run through the localization system
|
||||||
|
@ -54,3 +70,6 @@ migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- language
|
- language
|
||||||
- d7_taxonomy_vocabulary
|
- d7_taxonomy_vocabulary
|
||||||
|
optional:
|
||||||
|
- d7_language_content_settings
|
||||||
|
- d7_entity_translation_settings
|
||||||
|
|
Loading…
Reference in New Issue