function skinr_panels_skinr_theme_hooks in Skinr 8.2
Same name and namespace in other branches
- 7.2 skinr_panels/skinr_panels.skinr.inc \skinr_panels_skinr_theme_hooks()
Implements hook_skinr_theme_hooks().
File
- skinr_panels/
skinr_panels.skinr.inc, line 197 - Implements Skinr hooks for panels.module.
Code
function skinr_panels_skinr_theme_hooks($module, $element) {
$theme_hooks = array();
if ($module == 'panels') {
if (strpos($element, 'region') === 0) {
$theme_hooks[] = 'panels_region';
}
elseif (strpos($element, 'pane') === 0) {
$theme_hooks[] = 'panels_pane';
}
else {
$theme_hooks[] = 'panels_display';
}
}
return $theme_hooks;
}