Render the field.
Parameters
$values:
The values retrieved from the database.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 1096
- Definition of Drupal\views\Plugin\views\field\FieldPluginBase.
Class
- FieldPluginBase
- Base field handler that has no options and renders an unformatted field.
Namespace
Drupal\views\Plugin\views\field
Code
function render($values) {
$value = $this
->get_value($values);
return $this
->sanitizeValue($value);
}