custom/taxonomy_helper/taxonomy_helper_node/taxonomy_helper_node.module, line 95
taxonomy_helper_node_preprocess_node(&$variables)Implementation of hook_preprocess_node().
<?php
function taxonomy_helper_node_preprocess_node(&$variables) {
// Get node terms grouped by vocabulary output.
$output = taxonomy_helper_node_vocabularies_output(node_load($variables['nid']), $variables['teaser']);
// Set $variables['terms'] to $output if it is not NULL.
// If the $output is NULL then the node's terms should NOT be overwritten.
if ($output !== NULL) {
$variables['terms'] = $output;
}
}
?>