d7_node_translation.yml

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

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