You are here

function Status::render in Views (for Drupal 7) 8.3

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

File

lib/Views/file/Plugin/views/field/Status.php, line 25
Definition of Views\file\Plugin\views\field\Status.

Class

Status
Field handler to translate a node type into its readable form.

Namespace

Views\file\Plugin\views\field

Code

function render($values) {
  $value = $this
    ->get_value($values);
  return _views_file_status($value);
}