public function views_handler_field_comment::render in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/comment/views_handler_field_comment.inc \views_handler_field_comment::render()
- 6.2 modules/comment/views_handler_field_comment.inc \views_handler_field_comment::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
comment/ views_handler_field_comment.inc, line 79 - Definition of views_handler_field_comment.
Class
- views_handler_field_comment
- Field handler to allow linking to a comment.
Code
public function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->sanitize_value($value), $values);
}