You are here

function views_handler_field_computing_control::render in Drupal Computing 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

./computing.views.inc, line 565

Class

views_handler_field_computing_control

Code

function render($values) {
  $value = $this
    ->get_value($values);
  $control_code = computing_code('control', TRUE);
  return isset($control_code[$value]) ? $control_code[$value] : $value;
}