function comment_save_action
7.x comment.module | comment_save_action($comment) |
Saves a comment.
Related topics
2 string references to 'comment_save_action'
- comment_action_info in drupal-7.x/
modules/ comment/ comment.module - Implements hook_action_info().
- hook_action_info in drupal-7.x/
modules/ system/ system.api.php - Declares information about actions.
File
- drupal-7.x/
modules/ comment/ comment.module, line 2660 - Enables users to comment on published content.
Code
function comment_save_action($comment) {
comment_save($comment);
cache_clear_all();
watchdog('action', 'Saved comment %title', array('%title' => $comment->subject));
}