Issue #3371869 by quietone: Fix dependencies of taxonomy term translation migrations

merge-requests/5913/head
catch 2023-12-21 10:30:32 +00:00
parent 2e06d213c0
commit 04900c3cae
4 changed files with 25 additions and 0 deletions

View File

@ -29,3 +29,5 @@ migration_dependencies:
- language
- d7_entity_translation_settings
- d7_taxonomy_term
optional:
- d7_language_content_taxonomy_vocabulary_settings

View File

@ -45,3 +45,5 @@ migration_dependencies:
required:
- language
- d7_taxonomy_term
optional:
- d7_language_content_taxonomy_vocabulary_settings

View File

@ -42,3 +42,5 @@ migration_dependencies:
required:
- language
- d7_taxonomy_term
optional:
- d7_language_content_taxonomy_vocabulary_settings

View File

@ -18,6 +18,22 @@ process:
-
plugin: skip_on_empty
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
# 0: No multilingual options.
# 1: Localize. Localizable object. Run through the localization system
@ -54,3 +70,6 @@ migration_dependencies:
required:
- language
- d7_taxonomy_vocabulary
optional:
- d7_language_content_settings
- d7_entity_translation_settings