You are here

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

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

File

lib/Views/taxonomy/Plugin/views/field/Taxonomy.php, line 97
Definition of Views\taxonomy\Plugin\views\field\Taxonomy.

Class

Taxonomy
Field handler to provide simple renderer that allows linking to a taxonomy term.

Namespace

Views\taxonomy\Plugin\views\field

Code

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