Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / themes_enabled.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_enabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_enabled.twig
new file mode 100644 (file)
index 0000000..e720572
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * Implements hook_themes_enabled().
+ */
+function {{ machine_name }}_themes_enabled($theme_list) {
+  foreach ($theme_list as $theme) {
+    block_theme_initialize($theme);
+  }
+}