Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / resources / create_node_types.php
diff --git a/vendor/drush/drush/tests/resources/create_node_types.php b/vendor/drush/drush/tests/resources/create_node_types.php
deleted file mode 100644 (file)
index a0c07a0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-$types = array(
-    array(
-      'type' => 'page',
-      'name' => 'Basic page',
-      'base' => 'node_content',
-      'description' => 'Use <em>basic pages</em> for your static content, such as an \'About us\' page.',
-      'custom' => 1,
-      'modified' => 1,
-      'locked' => 0,
-    ),
-    array(
-      'type' => 'article',
-      'name' => 'Article',
-      'base' => 'node_content',
-      'description' => 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.',
-      'custom' => 1,
-      'modified' => 1,
-      'locked' => 0,
-    ),
-);
-
-foreach ($types as $type) {
-  $type = node_type_set_defaults($type);
-  node_type_save($type);
-  node_add_body_field($type);
-}