You are here

d7_node.yml in Drupal 10

core/modules/node/migrations/d7_node.yml

File

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