d6_node_revision.yml

Same filename in other branches
  1. 9 core/modules/node/migrations/d6_node_revision.yml
  2. 8.9.x core/modules/node/migrations/d6_node_revision.yml
  3. 10 core/modules/node/migrations/d6_node_revision.yml
core/modules/node/migrations/d6_node_revision.yml

File

core/modules/node/migrations/d6_node_revision.yml

View source
  1. # cspell:ignore tnid
  2. id: d6_node_revision
  3. label: Node revisions
  4. audit: true
  5. migration_tags:
  6. - Drupal 6
  7. - Content
  8. deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
  9. source:
  10. plugin: d6_node_revision
  11. process:
  12. # If you are using this file to build a custom migration consider removing
  13. # the nid and vid fields to allow incremental migrations.
  14. nid: nid
  15. vid: vid
  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. 'body/format':
  28. plugin: migration_lookup
  29. migration: d6_filter_format
  30. source: format
  31. 'body/value': body
  32. 'body/summary': teaser
  33. revision_uid: revision_uid
  34. revision_log: log
  35. revision_timestamp: timestamp
  36. # unmapped d6 fields.
  37. # tnid
  38. # translate
  39. # moderate
  40. # comment
  41. destination:
  42. plugin: entity_revision:node

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