You are here

function node_skinr_preprocess_index_handler in Skinr 6

Same name and namespace in other branches
  1. 6.2 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_data in modules/node.skinr.inc
Implementation of hook_skinr_data().

File

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

Code

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