Render the field.
Parameters
$values:
The values retrieved from the database.
Overrides FieldPluginBase::render
File
- drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php, line 97
- Definition of Drupal\taxonomy\Plugin\views\field\Taxonomy.
Class
- Taxonomy
- Field handler to provide simple renderer that allows linking to a taxonomy
term.
Namespace
Drupal\taxonomy\Plugin\views\field
Code
function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->sanitizeValue($value), $values);
}