function hook_comment_update

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 comment.api.php hook_comment_update($comment)
cle7 comment.api.php hook_comment_update($comment)
elmsmedia7 comment.api.php hook_comment_update($comment)
icor7 comment.api.php hook_comment_update($comment)
meedjum_blog7 comment.api.php hook_comment_update($comment)
mooc7 comment.api.php hook_comment_update($comment)

The comment is being updated.

Parameters

$comment: The comment object.

Related topics

6 functions implement hook_comment_update()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

entitycache_comment_update in sites/all/modules/ulmus/entitycache/entitycache.module
Implements hook_comment_update().
entity_crud_hook_test_comment_update in modules/simpletest/tests/entity_crud_hook_test.module
Implements hook_comment_update().
forum_comment_update in modules/forum/forum.module
Implements hook_comment_update().
search_comment_update in modules/search/search.module
Implements hook_comment_update().
tracker_comment_update in modules/tracker/tracker.module
Implements hook_comment_update().

... See full list

1 invocation of hook_comment_update()
comment_save in modules/comment/comment.module
Accepts a submission of new or changed comment content.

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);
}