You are here

d6_node_translation.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/content_translation/migrations/d6_node_translation.yml
core/modules/content_translation/migrations/d6_node_translation.yml

File

core/modules/content_translation/migrations/d6_node_translation.yml
View source
  1. id: d6_node_translation
  2. label: Node translations
  3. migration_tags:
  4. - Drupal 6
  5. - translation
  6. - Content
  7. - Multilingual
  8. class: Drupal\node\Plugin\migrate\D6NodeTranslation
  9. deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
  10. source:
  11. plugin: d6_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. 'body/format':
  30. plugin: migration_lookup
  31. migration: d6_filter_format
  32. source: format
  33. 'body/value': body
  34. 'body/summary': teaser
  35. revision_uid: revision_uid
  36. revision_log: log
  37. revision_timestamp: timestamp
  38. content_translation_source: source_langcode
  39. # unmapped d6 fields.
  40. # translate
  41. # moderate
  42. # comment
  43. destination:
  44. plugin: entity:node
  45. translations: true
  46. destination_module: content_translation
  47. migration_dependencies:
  48. required:
  49. - d6_user
  50. - d6_node_type
  51. - d6_node_settings
  52. - d6_filter_format
  53. - language
  54. optional:
  55. - d6_field_instance_widget_settings
  56. - d6_field_formatter_settings
  57. - d6_upload_field_instance