summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index e7fec486d..c5516192a 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -382,6 +382,8 @@ function _theme_build_registry($theme, $base_theme, $theme_engine) {
// Finally, hooks provided by the theme itself.
_theme_process_registry($cache, $theme->name, 'theme', $theme->name, dirname($theme->filename));
+ // Let modules alter the registry
+ drupal_alter('theme_registry', $cache);
return $cache;
}