Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / themes_disabled.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_disabled.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/themes_disabled.twig
new file mode 100644 (file)
index 0000000..e24cf46
--- /dev/null
@@ -0,0 +1,7 @@
+/**
+ * Implements hook_themes_disabled().
+ */
+function {{ machine_name }}_themes_disabled($theme_list) {
+ // Clear all update module caches.
+  _update_cache_clear();
+}