function views_handler_field_custom::render in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 handlers/views_handler_field_custom.inc \views_handler_field_custom::render()
- 7.3 handlers/views_handler_field_custom.inc \views_handler_field_custom::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- handlers/
views_handler_field_custom.inc, line 31
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'];
}