diff options
-rw-r--r-- | includes/theme.inc | 2 |
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; } |