d7_node.yml

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

File

core/modules/node/migrations/d7_node.yml

View source
  1. # cspell:ignore tnid
  2. id: d7_node
  3. label: Nodes
  4. audit: true
  5. migration_tags:
  6. - Drupal 7
  7. - Content
  8. deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
  9. source:
  10. plugin: d7_node
  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. # In D7, nodes always have a tnid, but it's zero for untranslated nodes.
  15. # We normalize it to equal the nid in that case.
  16. # @see \Drupal\node\Plugin\migrate\source\d7\Node::prepareRow().
  17. nid: tnid
  18. vid: vid
  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. destination:
  34. plugin: entity:node
  35. migration_dependencies:
  36. required:
  37. - d7_user
  38. - d7_node_type
  39. optional:
  40. - d7_field_instance
  41. - d7_comment_field_instance

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