/**
 * Implements hook_comment_publish().
 */
function {{ machine_name }}_comment_publish($comment) {
  drupal_set_message(t('Comment: @subject has been published', array('@subject' => $comment->subject)));
}
