You are here

function views_handler_field_comment_link::render in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 modules/comment/views_handler_field_comment_link.inc \views_handler_field_comment_link::render()
  2. 7.3 modules/comment/views_handler_field_comment_link.inc \views_handler_field_comment_link::render()

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/comment/views_handler_field_comment_link.inc, line 34

Class

views_handler_field_comment_link
Base field handler to present a link.

Code

function render($values) {
  $value = $this
    ->get_value($values, 'cid');
  return $this
    ->render_link($this
    ->sanitize_value($value), $values);
}