Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / node / migrations / d6_node_type.yml
diff --git a/web/core/modules/node/migrations/d6_node_type.yml b/web/core/modules/node/migrations/d6_node_type.yml
new file mode 100644 (file)
index 0000000..3afe4bc
--- /dev/null
@@ -0,0 +1,27 @@
+id: d6_node_type
+label: Node type configuration
+migration_tags:
+  - Drupal 6
+  - Configuration
+source:
+  plugin: d6_node_type
+  constants:
+    preview: 1 # DRUPAL_OPTIONAL
+    create_body: false
+process:
+  type: type
+  name: name
+  module: module
+  description: description
+  help: help
+  title_label: title_label
+  'preview_mode': 'constants/preview'
+  'display_submitted': display_submitted
+  'new_revision': 'options/revision'
+  'settings/node/options': options
+  create_body: has_body
+  create_body_label: body_label
+  'third_party_settings/menu_ui/available_menus': available_menus
+  'third_party_settings/menu_ui/parent': parent
+destination:
+  plugin: entity:node_type