Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / theme.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/theme.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/theme.twig
new file mode 100644 (file)
index 0000000..b0214cc
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+/**
+ * @file
+ * Functions to support theming in the {{ name }} theme.
+ */
+
+/**
+ * Implements hook_preprocess_HOOK() for html.html.twig.
+ */
+function {{ machine_name }}_preprocess_html(&$variables) {
+
+}
+
+/**
+ * Implements hook_preprocess_HOOK() for page.html.twig.
+ */
+function {{ machine_name }}_preprocess_page(&$variables) {
+
+}
+
+/**
+ * Implements hook_preprocess_HOOK() for node.html.twig.
+ */
+function {{ machine_name }}_preprocess_node(&$variables) {
+
+}