You are here

function auto_index_node_delete in Auto Index 8

Same name and namespace in other branches
  1. 7 auto_index.module \auto_index_node_delete()

Implementation of hook_ENTITY_TYPE_delete().

File

./auto_index.module, line 20
Auto-index: Automatically indexes node content on update.

Code

function auto_index_node_delete(NodeInterface $node) {

  // Update search totals to reflect deleted node content.
  drupal_register_shutdown_function('search_update_totals');
}