1 taxonomy.module taxonomy_node_predelete(Node $node)

Implements hook_node_predelete().

Related topics

File

core/modules/taxonomy/taxonomy.module, line 2118
Enables the organization of content into categories.

Code

function taxonomy_node_predelete(Node $node) {
  // Clean up the {taxonomy_index} table when nodes are deleted.
  taxonomy_delete_node_index($node);
}