function Category::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/ aggregator/ Plugin/ views/ field/ Category.php, line 69 - Definition of Views\aggregator\Plugin\views\field\Category.
Class
- Category
- Field handler to provide simple renderer that allows linking to aggregator category.
Namespace
Views\aggregator\Plugin\views\fieldCode
function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->sanitizeValue($value), $values);
}