Version 1
[yaffs-website] / vendor / drupal / console / templates / profile / install.twig
diff --git a/vendor/drupal/console/templates/profile/install.twig b/vendor/drupal/console/templates/profile/install.twig
new file mode 100644 (file)
index 0000000..ea8ffee
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * @file
+ * Install, update and uninstall hooks for the {{ profile }} install profile.
+ */
+
+/**
+ * Implements hook_install().
+ *
+ * Perform actions to set up the site for this profile.
+ *
+ * @see system_install()
+ */
+function {{ machine_name }}_install() {
+  // First, do everything that is done in the standard profile.
+  include_once DRUPAL_ROOT . '/core/profiles/standard/standard.install';
+  standard_install();
+
+  // Add code here to make nodes, terms, etc.
+}