Same name and namespace in other branches
  1. 6.x-3.x handlers/views_handler_field_custom.inc \views_handler_field_custom::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

handlers/views_handler_field_custom.inc, line 52
Definition of views_handler_field_custom.

Class

views_handler_field_custom
A handler to provide a field that is completely custom by the administrator.

Code

public function render($values) {

  // Return the text, so the code never thinks the value is empty.
  return $this->options['alter']['text'];
}