1 views_handler_field_node_link.inc views_handler_field_node_link::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

core/modules/node/views/views_handler_field_node_link.inc, line 53
Definition of views_handler_field_node_link.

Class

views_handler_field_node_link
Field handler to present a link to the node.

Code

function render($values) {
  if ($entity = $this->get_value($values)) {
    return $this->render_link($entity, $values);
  }
}