You are here

function search_exclude_comment_insert in Search Exclude (Node) 8

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

Implements hook_ENTITY_TYPE_insert().

Triggers the reindex for comment insert.

File

./search_exclude.module, line 22

Code

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