function TextCustom::renderTextarea
Same name in other branches
- 9 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
- 8.9.x 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
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');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.