You are here

function taxonomy_node_update in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/taxonomy.module \taxonomy_node_update()
  2. 9 core/modules/taxonomy/taxonomy.module \taxonomy_node_update()
  3. 10 core/modules/taxonomy/taxonomy.module \taxonomy_node_update()

Implements hook_node_update().

Related topics

File

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

Code

function taxonomy_node_update($node) {

  // Always rebuild the node's taxonomy index entries on node save.
  taxonomy_delete_node_index($node);
  taxonomy_build_node_index($node);
}