You are here

d6_term_node_translation.yml in Drupal 9

core/modules/content_translation/migrations/d6_term_node_translation.yml

File

core/modules/content_translation/migrations/d6_term_node_translation.yml
View source
  1. id: d6_term_node_translation
  2. label: Term/node translation relationships
  3. migration_tags:
  4. - Drupal 6
  5. - Content
  6. - Multilingual
  7. deriver: Drupal\taxonomy\Plugin\migrate\D6TermNodeDeriver
  8. source:
  9. plugin: d6_term_node
  10. process:
  11. dest_nid:
  12. -
  13. plugin: migration_lookup
  14. migration:
  15. - d6_node_complete
  16. - d6_node_translation
  17. source: nid
  18. -
  19. plugin: node_complete_node_translation_lookup
  20. -
  21. plugin: skip_on_empty
  22. method: row
  23. nid:
  24. -
  25. plugin: extract
  26. index: [0]
  27. source: '@dest_nid'
  28. -
  29. plugin: skip_on_empty
  30. method: row
  31. langcode:
  32. -
  33. plugin: extract
  34. index: [1]
  35. source: '@dest_nid'
  36. -
  37. plugin: skip_on_empty
  38. method: row
  39. type: type
  40. # The actual field name is dynamic and will be added by the builder.
  41. destination:
  42. plugin: entity:node
  43. translations: true
  44. migration_dependencies:
  45. required:
  46. - d6_vocabulary_entity_display
  47. - d6_vocabulary_entity_form_display
  48. - d6_node
  49. - d6_node_translation
  50. - language