You are here

function node_skinr_preprocess_index_handler in Skinr 6.2

Same name and namespace in other branches
  1. 6 modules/node.skinr.inc \node_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 'node_skinr_preprocess_index_handler'
node_skinr_config in modules/node.skinr.inc
Implementation of hook_skinr_config().

File

modules/node.skinr.inc, line 107
Provide skinr handling for node.module

Code

function node_skinr_preprocess_index_handler(&$vars) {
  return $vars['node']->type;
}