Commit e671b542 authored by catch's avatar catch
Browse files

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

(cherry picked from commit 04900c3c)
parent 4dee9b3a
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,3 +29,5 @@ migration_dependencies:
    - language
    - d7_entity_translation_settings
    - d7_taxonomy_term
  optional:
    - d7_language_content_taxonomy_vocabulary_settings
+2 −0
Original line number Diff line number Diff line
@@ -45,3 +45,5 @@ migration_dependencies:
  required:
    - language
    - d7_taxonomy_term
  optional:
    - d7_language_content_taxonomy_vocabulary_settings
+2 −0
Original line number Diff line number Diff line
@@ -42,3 +42,5 @@ migration_dependencies:
  required:
    - language
    - d7_taxonomy_term
  optional:
    - d7_language_content_taxonomy_vocabulary_settings
+19 −0
Original line number Diff line number Diff line
@@ -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