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. 10 core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml
  3. 11.x 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. id: d7_taxonomy_term_localized_translation
  2. label: Taxonomy localized term translations
  3. migration_tags:
  4. - Drupal 7
  5. - Content
  6. - Multilingual
  7. source:
  8. plugin: d7_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. # Use the language from the locales_target table.
  15. langcode: ltlanguage
  16. vid:
  17. plugin: migration_lookup
  18. migration: d7_taxonomy_vocabulary
  19. source: vid
  20. name:
  21. -
  22. plugin: callback
  23. source:
  24. - name_translated
  25. - name
  26. callable: array_filter
  27. -
  28. plugin: callback
  29. callable: current
  30. description:
  31. -
  32. plugin: callback
  33. source:
  34. - description_translated
  35. - description
  36. callable: array_filter
  37. -
  38. plugin: callback
  39. callable: current
  40. destination:
  41. plugin: entity:taxonomy_term
  42. translations: true
  43. migration_dependencies:
  44. required:
  45. - d7_taxonomy_term

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