d7_taxonomy_term_localized_translation.yml

Same filename in other branches
  1. 9 core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml
  2. 8.9.x core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml
  3. 10 core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml
core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml

File

core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml

View source
  1. # cspell:ignore ltlanguage
  2. id: d7_taxonomy_term_localized_translation
  3. label: Taxonomy localized term translations
  4. migration_tags:
  5. - Drupal 7
  6. - Content
  7. - Multilingual
  8. source:
  9. plugin: d7_term_localized_translation
  10. translations: true
  11. process:
  12. # If you are using this file to build a custom migration consider removing
  13. # the tid field to allow incremental migrations.
  14. tid: tid
  15. # Use the language from the locales_target table.
  16. langcode: ltlanguage
  17. vid:
  18. plugin: migration_lookup
  19. migration: d7_taxonomy_vocabulary
  20. source: vid
  21. name:
  22. -
  23. plugin: callback
  24. source:
  25. - name_translated
  26. - name
  27. callable: array_filter
  28. -
  29. plugin: callback
  30. callable: current
  31. description:
  32. -
  33. plugin: callback
  34. source:
  35. - description_translated
  36. - description
  37. callable: array_filter
  38. -
  39. plugin: callback
  40. callable: current
  41. destination:
  42. plugin: entity:taxonomy_term
  43. translations: true
  44. migration_dependencies:
  45. required:
  46. - language
  47. - d7_taxonomy_term
  48. optional:
  49. - d7_language_content_taxonomy_vocabulary_settings

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