function panopoly_core_theme_registry_alter in Panopoly Core 7
Implements hook_theme_registry_alter().
File
- ./
panopoly_core.module, line 65
Code
function panopoly_core_theme_registry_alter(&$registry) {
// Ensure that panopoly_core_preprocess_page() always runs last.
if (($index = array_search('panopoly_core_preprocess_page', $registry['page']['preprocess functions'])) !== FALSE) {
array_splice($registry['page']['preprocess functions'], $index, 1);
}
$registry['page']['preprocess functions'][] = 'panopoly_core_preprocess_page';
}