function TextCustom::renderTextarea

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
  2. 8.9.x core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
  3. 11.x 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\area

Code

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.