You are here

function nodeorder_preprocess_node in Node Order 7

Implements hook_preprocess_node().

File

./nodeorder.module, line 285
Nodeorder module.

Code

function nodeorder_preprocess_node(&$vars) {
  if ($vars['view_mode'] == 'nodeorder') {
    $vars['theme_hook_suggestions'][] = 'node__nodeorder';
    $vars['theme_hook_suggestions'][] = 'node__' . $vars['type'] . '__nodeorder';
  }
}