You are here

function efq_views_handler_field_entity_label::render in EntityFieldQuery Views Backend 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

handlers/efq_views_handler_field_entity_label.inc, line 60

Class

efq_views_handler_field_entity_label
Field handler for entity labels.

Code

function render($values) {
  $label = entity_label($values->entity_type, $values);
  return $this
    ->render_link(check_plain($label), $values);
}