function taxonomy_node_update

Implements hook_node_update().

Related topics

File

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

Code

function taxonomy_node_update(EntityInterface $node) {

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