function taxonomy_node_predelete
Same name in other branches
- 9 core/modules/taxonomy/taxonomy.module \taxonomy_node_predelete()
- 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_node_predelete()
Implements hook_ENTITY_TYPE_predelete() for node entities.
Related topics
File
-
core/
modules/ taxonomy/ taxonomy.module, line 268
Code
function taxonomy_node_predelete(EntityInterface $node) {
// Clean up the {taxonomy_index} table when nodes are deleted.
taxonomy_delete_node_index($node);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.