| 5 taxonomy.module | taxonomy_node_update_index(&$node) |
| 6 taxonomy.module | taxonomy_node_update_index(&$node) |
Implementation of hook_nodeapi('update_index').
1 call to taxonomy_node_update_index()
File
- modules/
taxonomy/ taxonomy.module, line 1291 - Enables the organization of content into categories.
Code
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