taxonomy_delete_node_index(EntityInterface $node)
Deletes taxonomy index entries for a given node.
\Drupal\Core\Entity\EntityInterface $node: The node entity.
function taxonomy_delete_node_index(EntityInterface $node) { if (\Drupal::config('taxonomy.settings')->get('maintain_index_table')) { db_delete('taxonomy_index')->condition('nid', $node->id())->execute(); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!taxonomy!taxonomy.module/function/taxonomy_delete_node_index/8.1.x