You are here

function fieldgroup_skinr_preprocess_index_handler in Skinr 6.2

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 'fieldgroup_skinr_preprocess_index_handler'
fieldgroup_skinr_config in modules/fieldgroup.skinr.inc
Implementation of hook_skinr_config().

File

modules/fieldgroup.skinr.inc, line 97
Provide skinr handling for fieldgroup.module

Code

function fieldgroup_skinr_preprocess_index_handler(&$vars) {
  return $vars['element']['#group_name'] . '_' . $vars['element']['#node']->type;
}