You are here

function search_api_exclude_node_delete in Search API exclude 7

Implements hook_node_delete().

File

./search_api_exclude.module, line 61
Allows users to exclude specific nodes from indexing by Search API.

Code

function search_api_exclude_node_delete($node) {
  search_api_exclude_remove_node($node->nid);
}