function Xss::render in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/aggregator/Plugin/views/field/Xss.php \Views\aggregator\Plugin\views\field\Xss::render()
- 8.3 lib/Drupal/views/Plugin/views/field/Xss.php \Drupal\views\Plugin\views\field\Xss::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides FieldPluginBase::render
File
- lib/
Views/ aggregator/ Plugin/ views/ field/ Xss.php, line 25 - Definition of Views\aggregator\Plugin\views\field\Xss.
Class
- Xss
- Filters htmls tags from item.
Namespace
Views\aggregator\Plugin\views\fieldCode
function render($values) {
$value = $this
->get_value($values);
return aggregator_filter_xss($value);
}