Commit 5fc06cec authored by Gábor Hojtsy's avatar Gábor Hojtsy

#180389 by merlinofchaos: add hook_theme_registry_alter() for devel module and...

#180389 by merlinofchaos: add hook_theme_registry_alter() for devel module and friends to alter and get access to the theme registry
parent 15445a6d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment