public function TextCustom::renderTextarea

Render a text area with filter_xss_admin.

1 call to TextCustom::renderTextarea()
TextCustom::render in drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php
Implements \Drupal\views\Plugin\views\area\AreaPluginBase::render().

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');
  }
}