| 7 comment.api.php | hook_comment_update($comment) |
| 8 comment.api.php | hook_comment_update(Drupal comment Comment $comment) |
The comment is being updated.
Parameters
$comment: The comment object.
Related topics
5 functions implement hook_comment_update()
1 invocation of hook_comment_update()
File
- modules/
comment/ comment.api.php, line 43 - Hooks provided by the Comment module.
Code
function hook_comment_update($comment) {
// Reindex the node when comments are updated.
search_touch_node($comment->nid);
}
Login or register to post comments