Xss.php in Views (for Drupal 7) 8.3
Same filename in this branch
Definition of Views\aggregator\Plugin\views\field\Xss.
Namespace
Views\aggregator\Plugin\views\fieldFile
lib/Views/aggregator/Plugin/views/field/Xss.phpView source
<?php
/**
* @file
* Definition of Views\aggregator\Plugin\views\field\Xss.
*/
namespace Views\aggregator\Plugin\views\field;
use Drupal\views\Plugin\views\field\FieldPluginBase;
use Drupal\Core\Annotation\Plugin;
/**
* Filters htmls tags from item.
*
* @ingroup views_field_handlers
*
* @Plugin(
* id = "aggregator_xss",
* module = "aggregator"
* )
*/
class Xss extends FieldPluginBase {
function render($values) {
$value = $this
->get_value($values);
return aggregator_filter_xss($value);
}
}