You are here

public function views_handler_field_custom::render in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_field_custom.inc \views_handler_field_custom::render()
  2. 6.2 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'];
}