You are here

d6_node_revision.yml in Drupal 10

core/modules/node/migrations/d6_node_revision.yml

File

core/modules/node/migrations/d6_node_revision.yml
View source
  1. id: d6_node_revision
  2. label: Node revisions
  3. audit: true
  4. migration_tags:
  5. - Drupal 6
  6. - Content
  7. deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
  8. source:
  9. plugin: d6_node_revision
  10. process:
  11. # If you are using this file to build a custom migration consider removing
  12. # the nid and vid fields to allow incremental migrations.
  13. nid: nid
  14. vid: vid
  15. langcode:
  16. plugin: default_value
  17. source: language
  18. default_value: "und"
  19. title: title
  20. uid: node_uid
  21. status: status
  22. created: created
  23. changed: changed
  24. promote: promote
  25. sticky: sticky
  26. 'body/format':
  27. plugin: migration_lookup
  28. migration: d6_filter_format
  29. source: format
  30. 'body/value': body
  31. 'body/summary': teaser
  32. revision_uid: revision_uid
  33. revision_log: log
  34. revision_timestamp: timestamp
  35. # unmapped d6 fields.
  36. # tnid
  37. # translate
  38. # moderate
  39. # comment
  40. destination:
  41. plugin: entity_revision:node