You are here

function search_exclude_comment_delete in Search Exclude (Node) 8

Same name and namespace in other branches
  1. 2.x search_exclude.module \search_exclude_comment_delete()
  2. 2.0.x search_exclude.module \search_exclude_comment_delete()

Implements hook_ENTITY_TYPE_delete().

Triggers the reindex for comment updates.

File

./search_exclude.module, line 40

Code

function search_exclude_comment_delete(EntityInterface $comment) {
  _search_exclude_reindex($comment);
}