d6_taxonomy_term_translation.yml

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

File

core/modules/content_translation/migrations/d6_taxonomy_term_translation.yml

View source
  1. id: d6_taxonomy_term_translation
  2. label: Taxonomy terms
  3. migration_tags:
  4. - Drupal 6
  5. - Content
  6. - Multilingual
  7. source:
  8. plugin: d6_taxonomy_term
  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: name
  20. description: description
  21. weight: weight
  22. # Only attempt to stub real (non-zero) parents.
  23. parent_id:
  24. -
  25. plugin: skip_on_empty
  26. method: process
  27. source: parent
  28. -
  29. plugin: migration_lookup
  30. migration: d6_taxonomy_term
  31. parent:
  32. plugin: default_value
  33. default_value: 0
  34. source: '@parent_id'
  35. changed: timestamp
  36. destination:
  37. plugin: entity:taxonomy_term
  38. destination_module: content_translation
  39. migration_dependencies:
  40. required:
  41. - d6_taxonomy_vocabulary
  42. - d6_taxonomy_term
  43. - language

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