d7_node_translation.yml

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

File

core/modules/content_translation/migrations/d7_node_translation.yml

View source
  1. id: d7_node_translation
  2. label: Node translations
  3. migration_tags:
  4. - Drupal 7
  5. - translation
  6. - Content
  7. - Multilingual
  8. class: Drupal\node\Plugin\migrate\D7NodeTranslation
  9. deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
  10. source:
  11. plugin: d7_node
  12. translations: true
  13. process:
  14. # If you are using this file to build a custom migration consider removing
  15. # the nid field to allow incremental migrations.
  16. nid: tnid
  17. type: type
  18. langcode:
  19. plugin: default_value
  20. source: language
  21. default_value: "und"
  22. title: title
  23. uid: node_uid
  24. status: status
  25. created: created
  26. changed: changed
  27. promote: promote
  28. sticky: sticky
  29. revision_uid: revision_uid
  30. revision_log: log
  31. revision_timestamp: timestamp
  32. content_translation_source: source_langcode
  33. destination:
  34. plugin: entity:node
  35. translations: true
  36. destination_module: content_translation
  37. migration_dependencies:
  38. required:
  39. - d7_user
  40. - d7_node_type
  41. - language
  42. optional:
  43. - d7_field_instance

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