function Taxonomy::render

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

1 method overrides Taxonomy::render()
Language::render in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Language.php
Overrides Drupal\taxonomy\Plugin\views\field\Taxonomy::render().

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php, line 90
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
    ->getValue($values);
  return $this
    ->render_link($this
    ->sanitizeValue($value), $values);
}