public function TextCustom::renderTextarea in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
- 10 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
Render a text area with \Drupal\Component\Utility\Xss::filterAdmin().
1 call to TextCustom::renderTextarea()
- TextCustom::render in core/
modules/ views/ src/ Plugin/ views/ area/ TextCustom.php - Render the area.
File
- core/
modules/ views/ src/ Plugin/ views/ area/ TextCustom.php, line 59
Class
- TextCustom
- Views area text handler.
Namespace
Drupal\views\Plugin\views\areaCode
public function renderTextarea($value) {
if ($value) {
return $this
->sanitizeValue($this
->tokenizeValue($value), 'xss_admin');
}
}