You are here

function views_handler_field_relation_link::render in Relation 8

Same name and namespace in other branches
  1. 8.2 views/views_handler_field_relation_link.inc \views_handler_field_relation_link::render()
  2. 7 views/views_handler_field_relation_link.inc \views_handler_field_relation_link::render()

File

views/views_handler_field_relation_link.inc, line 43
Definition of views_handler_field_relation_link.

Class

views_handler_field_relation_link
Field handler to present a link to the relation.

Code

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