function taxonomy_node_update in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/taxonomy.module \taxonomy_node_update()
Implements hook_ENTITY_TYPE_update() for node entities.
Related topics
File
- core/
modules/ taxonomy/ taxonomy.module, line 534 - 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);
}