public functionnodeUpdate(EntityInterface $node) {
// If we're not dealing with the default revision of the node, do not make any// change to the taxonomy index.if (!$node->isDefaultRevision()) {
return;
}
taxonomy_delete_node_index($node);
taxonomy_build_node_index($node);
}