d6_language_content_taxonomy_vocabulary_settings.yml

Same filename in other branches
  1. 9 core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml
  2. 8.9.x core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml
  3. 11.x core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml
core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml

File

core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml

View source
  1. # cspell:ignore localizable
  2. id: d6_language_content_taxonomy_vocabulary_settings
  3. label: Drupal 6 language taxonomy vocabulary settings
  4. migration_tags:
  5. - Drupal 6
  6. - Configuration
  7. source:
  8. plugin: d6_language_content_settings_taxonomy_vocabulary
  9. constants:
  10. target_type: 'taxonomy_term'
  11. default_langcode: 'site_default'
  12. process:
  13. target_bundle:
  14. -
  15. plugin: migration_lookup
  16. migration: d6_taxonomy_vocabulary
  17. source: vid
  18. -
  19. plugin: skip_on_empty
  20. method: row
  21. # State is the value in the i18ntaxonomy_vocabulary array defined as:
  22. # 0: No multilingual options.
  23. # 1: Localizable terms. Run through the localization system.
  24. # 2: Predefined language for a vocabulary and its terms.
  25. # 3: Per-language terms, translatable (referencing terms with different
  26. # languages) but not localizable.
  27. language_alterable:
  28. plugin: static_map
  29. source: state
  30. map:
  31. 0: false
  32. 1: true
  33. 2: false
  34. 3: true
  35. 'third_party_settings/content_translation/enabled':
  36. plugin: static_map
  37. source: state
  38. map:
  39. 0: false
  40. 1: true
  41. 2: false
  42. 3: false
  43. target_entity_type_id: 'constants/target_type'
  44. default_langcode:
  45. plugin: default_value
  46. default_value: site_default
  47. source: language
  48. destination:
  49. plugin: entity:language_content_settings
  50. migration_dependencies:
  51. required:
  52. - d6_taxonomy_vocabulary
  53. - language

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.