function views_handler_field_custom::render
3.x views_handler_field_custom.inc | views_handler_field_custom::render($values) |
2.x 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
- handlers/
views_handler_field_custom.inc, line 39 - 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'];
}