function comment_hook_test_comment_unpublish
Implements hook_comment_unpublish().
File
-
modules/
comment/ tests/ comment_hook_test.module, line 18
Code
function comment_hook_test_comment_unpublish($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.