You are here

function apachesolr_comment_publish in Apache Solr Search 8

Same name and namespace in other branches
  1. 7 apachesolr.module \apachesolr_comment_publish()

Implements hook_comment_publish().

File

./apachesolr.module, line 716
Integration with the Apache Solr search application.

Code

function apachesolr_comment_publish($comment) {
  apachesolr_mark_entity('node', $comment->nid);
}