You are here

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

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

1 method overrides views_handler_field_node_link::render()
views_handler_field_node_link_translate::render in modules/translation/views_handler_field_node_link_translate.inc
Render the field.

File

modules/node/views_handler_field_node_link.inc, line 39

Class

views_handler_field_node_link
Field handler to present a link to the node.

Code

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