projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
hook
/
themes_installed.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig
b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig
new file mode 100644
(file)
index 0000000..
beed725
--- /dev/null
+++ b/
vendor/chi-teck/drupal-code-generator/templates/d8/hook/themes_installed.twig
@@ -0,0
+1,8
@@
+/**
+ * Implements hook_themes_installed().
+ */
+function {{ machine_name }}_themes_installed($theme_list) {
+ foreach ($theme_list as $theme) {
+ block_theme_initialize($theme);
+ }
+}