You are here

function crm_core_contact_handler_field_contact_revision::render in CRM Core 7

Same name in this branch
  1. 7 modules/crm_core_contact/includes/views/handlers/crm_core_contact_handler_field_contact_revision_link.inc \crm_core_contact_handler_field_contact_revision::render()
  2. 7 modules/crm_core_contact/includes/views/handlers/crm_core_contact_handler_field_contact_revision.inc \crm_core_contact_handler_field_contact_revision::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/crm_core_contact/includes/views/handlers/crm_core_contact_handler_field_contact_revision.inc, line 54

Class

crm_core_contact_handler_field_contact_revision
Field handler to provide simple renderer that allows linking to a contact.

Code

function render($values) {
  return $this
    ->render_link(check_plain($values->{$this->field_alias}), $values);
}