function taxonomy_menu_node_delete in Taxonomy menu 7
Same name and namespace in other branches
- 8 taxonomy_menu.module \taxonomy_menu_node_delete()
- 7.2 taxonomy_menu.module \taxonomy_menu_node_delete()
Implements hook_node_delete().
File
- ./
taxonomy_menu.module, line 461 - Adds links to taxonomy terms into a menu.
Code
function taxonomy_menu_node_delete($node) {
// Since the delete operation is run after the data is deleted pull the terms
// from the node object.
$terms = _taxonomy_menu_get_node_terms($node);
_taxonomy_menu_nodeapi_helper('delete', $terms, $node);
}