function hook_comment_insert


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/
cis7 comment.api.php hook_comment_insert($comment)
cle7 comment.api.php hook_comment_insert($comment)
elmsmedia7 comment.api.php hook_comment_insert($comment)
icor7 comment.api.php hook_comment_insert($comment)
meedjum_blog7 comment.api.php hook_comment_insert($comment)
mooc7 comment.api.php hook_comment_insert($comment)

The comment is being inserted.


$comment: The comment object.

Related topics

4 functions implement hook_comment_insert()

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

entitycache_comment_insert in sites/all/modules/ulmus/entitycache/entitycache.module
Implements hook_comment_insert().
entity_crud_hook_test_comment_insert in modules/simpletest/tests/entity_crud_hook_test.module
Implements hook_comment_insert().
search_comment_insert in modules/search/search.module
Implements hook_comment_insert().
trigger_comment_insert in modules/trigger/trigger.module
Implements hook_comment_insert().
1 invocation of hook_comment_insert()
comment_save in modules/comment/comment.module
Accepts a submission of new or changed comment content.


modules/comment/comment.api.php, line 32
Hooks provided by the Comment module.


function hook_comment_insert($comment) {
  // Reindex the node when comments are added.



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.