1 search.module search_comment_insert($comment)

Implements hook_comment_insert().

File

core/modules/search/search.module, line 877
Enables site-wide keyword searching.

Code

function search_comment_insert($comment) {
  // Reindex the node when comments are added.
  search_touch_node($comment->nid);
}