Implements hook_comment_publish().
File
- modules/
comment/ tests/ comment_hook_test.module, line 11 - Test module for the comment hooks testing.
Code
function comment_hook_test_comment_publish($comment) {
$_SESSION['comment_hook_test'][] = __FUNCTION__ . ' called';
}