Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / taxonomy / migrations / d6_term_node.yml
diff --git a/web/core/modules/taxonomy/migrations/d6_term_node.yml b/web/core/modules/taxonomy/migrations/d6_term_node.yml
new file mode 100644 (file)
index 0000000..fdb8cc9
--- /dev/null
@@ -0,0 +1,26 @@
+id: d6_term_node
+label: Term/node relationships
+migration_tags:
+  - Drupal 6
+  - Content
+deriver: Drupal\taxonomy\Plugin\migrate\D6TermNodeDeriver
+source:
+  plugin: d6_term_node
+process:
+  nid:
+    -
+      plugin: migration_lookup
+      migration: d6_node
+      source: nid
+    -
+      plugin: skip_on_empty
+      method: row
+  type: type
+  # The actual field name is dynamic and will be added by the builder.
+destination:
+  plugin: entity:node
+migration_dependencies:
+  required:
+    - d6_vocabulary_entity_display
+    - d6_vocabulary_entity_form_display
+    - d6_node