d6_taxonomy_term_localized_translation.yml

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

File

core/modules/content_translation/migrations/d6_taxonomy_term_localized_translation.yml

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

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