Commit caacf80a authored by webchick's avatar webchick
Browse files

#621008 by seutje: Fixed 'theme path' is wrong for theme process and preprocess overrides.

parent 646a5b43
......@@ -472,6 +472,7 @@ function _theme_process_registry(&$cache, $name, $type, $theme, $path) {
}
if (function_exists($name . '_' . $phase . '_' . $hook)) {
$cache[$hook][$phase_key][] = $name . '_' . $phase . '_' . $hook;
$cache[$hook]['theme path'] = $path;
}
// Ensure uniqueness.
$cache[$hook][$phase_key] = array_unique($cache[$hook][$phase_key]);
......
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