d7_node_translation.yml 986 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. id: d7_node_translation
  2. label: Node translations
  3. migration_tags:
  4. - Drupal 7
  5. - translation
  6. deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
  7. source:
  8. plugin: d7_node
  9. translations: true
  10. source_module: translation
  11. process:
  12. # If you are using this file to build a custom migration consider removing
  13. # the nid field to allow incremental migrations.
  14. nid: tnid
  15. type: type
  16. langcode:
  17. plugin: default_value
  18. source: language
  19. default_value: "und"
  20. title: title
  21. uid: node_uid
  22. status: status
  23. created: created
  24. changed: changed
  25. promote: promote
  26. sticky: sticky
  27. revision_uid: revision_uid
  28. revision_log: log
  29. revision_timestamp: timestamp
  30. content_translation_source: source_langcode
  31. destination:
  32. plugin: entity:node
  33. translations: true
  34. content_translation_update_definitions:
  35. - node
  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