Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / node / migrations / d7_node_type.yml
diff --git a/web/core/modules/node/migrations/d7_node_type.yml b/web/core/modules/node/migrations/d7_node_type.yml
new file mode 100644 (file)
index 0000000..1be9cd1
--- /dev/null
@@ -0,0 +1,24 @@
+id: d7_node_type
+label: Node type configuration
+migration_tags:
+  - Drupal 7
+  - Configuration
+source:
+  plugin: d7_node_type
+  constants:
+    preview: 1 # DRUPAL_OPTIONAL
+process:
+  type: type
+  name: name
+  description: description
+  help: help
+  title_label: title_label
+  preview_mode: 'constants/preview'
+  display_submitted: display_submitted
+  new_revision: 'options/revision'
+  create_body: create_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