Render the field.
Parameters
$values:
The values retrieved from the database.
Overrides FieldPluginBase::render
File
- drupal/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php, line 25
- Definition of Drupal\file\Plugin\views\field\Status.
Class
- Status
- Field handler to translate a node type into its readable form.
Namespace
Drupal\file\Plugin\views\field
Code
function render($values) {
$value = $this
->get_value($values);
return _views_file_status($value);
}