You are here

function auto_index_comment_publish in Auto Index 8

Same name and namespace in other branches
  1. 7 auto_index.module \auto_index_comment_publish()

Implementation of hook_ENTITY_TYPE_publish().

File

./auto_index.module, line 64
Auto-index: Automatically indexes node content on update.

Code

function auto_index_comment_publish(CommentInterface $comment) {
  _auto_index_comment_index($comment);
}