taxonomy_node_update_index
- Versions
- 4.7 – 6
taxonomy_node_update_index(&$node)
Implementation of hook_nodeapi('update_index').
Code
modules/taxonomy/taxonomy.module, line 1211
<?php
function taxonomy_node_update_index(&$node) {
$output = array();
foreach ($node->taxonomy as $term) {
$output[] = $term->name;
}
if (count($output)) {
return '<strong>('. implode(', ', $output) .')</strong>';
}
}
?>Login or register to post comments 