You are here

function content_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 'content_skinr_preprocess_index_handler'
content_skinr_config in modules/content.skinr.inc
Implementation of hook_skinr_config().

File

modules/content.skinr.inc, line 94
Provide skinr handling for content.module

Code

function content_skinr_preprocess_index_handler(&$vars) {
  return $vars['field_name'] . '_' . $vars['node']->type;
}