1 views_handler_field_custom.inc views_handler_field_custom::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

core/modules/views/handlers/views_handler_field_custom.inc, line 37
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

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