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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

core/modules/translation/views/views_handler_field_node_translation_link.inc, line 27
Definition of views_handler_field_node_translation_link.

Class

views_handler_field_node_translation_link
Field handler to present a link to the node.

Code

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