function comment_hook_test_comment_publish

Implements hook_comment_publish().

File

modules/comment/tests/comment_hook_test.module, line 11

Code

function comment_hook_test_comment_publish($comment) {
    $_SESSION['comment_hook_test'][] = __FUNCTION__ . ' called';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.