Render a text area with filter_xss_admin.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php, line 59
- Definition of Drupal\views\Plugin\views\area\TextCustom.
Class
- TextCustom
- Views area text handler.
Namespace
Drupal\views\Plugin\views\area
Code
public function renderTextarea($value) {
if ($value) {
return $this
->sanitizeValue($this
->tokenizeValue($value), 'xss_admin');
}
}