function comment_notify_comment_update in Comment Notify 8
Same name and namespace in other branches
- 7 comment_notify.module \comment_notify_comment_update()
Implements hook_ENTITY_TYPE_update() for comment.
File
- ./
comment_notify.module, line 185 - This module provides comment follow-up e-mail notifications.
Code
function comment_notify_comment_update(CommentInterface $comment) {
// And send notifications - the real purpose of the module.
if ($comment
->isPublished()) {
_comment_notify_mailalert($comment);
}
}