Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / node / migrations / d7_node_revision.yml
diff --git a/web/core/modules/node/migrations/d7_node_revision.yml b/web/core/modules/node/migrations/d7_node_revision.yml
new file mode 100644 (file)
index 0000000..7310b0d
--- /dev/null
@@ -0,0 +1,33 @@
+id: d7_node_revision
+label: Node revisions
+audit: true
+migration_tags:
+  - Drupal 7
+  - Content
+deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
+source:
+  plugin: d7_node_revision
+process:
+  # If you are using this file to build a custom migration consider removing
+  # the nid and vid fields to allow incremental migrations.
+  nid: nid
+  vid: vid
+  langcode:
+    plugin: default_value
+    source: language
+    default_value: "und"
+  title: title
+  uid: node_uid
+  status: status
+  created: created
+  changed: changed
+  promote: promote
+  sticky: sticky
+  revision_uid: revision_uid
+  revision_log: log
+  revision_timestamp: timestamp
+destination:
+  plugin: entity_revision:node
+migration_dependencies:
+  required:
+    - d7_node