function skinr_panels_module_implements_alter in Skinr 8.2
Same name and namespace in other branches
- 7.2 skinr_panels/skinr_panels.module \skinr_panels_module_implements_alter()
Implements hook_module_implements_alter().
File
- skinr_panels/
skinr_panels.module, line 53 - Provides Skinr integration with Panels.
Code
function skinr_panels_module_implements_alter(&$implementations, $hook) {
if ($hook == 'skinr_preprocess_alter') {
// Make our version of hook_skinr_preprocess_alter() happen before that of
// skinr_context.
$group = $implementations['skinr_panels'];
unset($implementations['skinr_panels']);
$implementations = array_reverse($implementations, TRUE);
$implementations['skinr_panels'] = $group;
$implementations = array_reverse($implementations, TRUE);
}
}