You are here

function views_handler_field_comment in Views (for Drupal 7) 5

1 string reference to 'views_handler_field_comment'
comment_views_tables in modules/views_comment.inc
This include file implements views functionality on behalf of comment.module

File

modules/views_comment.inc, line 271

Code

function views_handler_field_comment($fieldinfo, $fielddata, $value, $data) {
  $obj = new stdClass();
  $obj->comment = check_markup($data->comments_comment, $data->comments_format, FALSE);
  comment_invoke_comment($obj, 'view');
  return $obj->comment;
}