function panels_skinr_preprocess_index_handler in Skinr 6
Same name and namespace in other branches
- 6.2 modules/panels.skinr.inc \panels_skinr_preprocess_index_handler()
Skinr preprocess index handler.
Parameters
&$vars: Passes in the $vars parameter from module_preprocess().
Return value
The index where we can find our values in Skinrs data structure. If an array is returned, it will loop through each index in Skinr's data structure and merge the returned classes.
Related topics
1 string reference to 'panels_skinr_preprocess_index_handler'
- panels_skinr_data in modules/
panels.skinr.inc - Implementation of hook_skinr_data().
File
- modules/
panels.skinr.inc, line 368 - Provide skinr handling for panels.module.
Code
function panels_skinr_preprocess_index_handler(&$vars) {
$index = '';
if (isset($vars['pane']->style['style']) && $vars['pane']->style['style'] == 'skinr') {
$index = 'display-' . $vars['pane']->did . '-pane-' . $vars['pane']->pid;
}
return $index;
}