function TextCustom::render_textarea

Render a text area with filter_xss_admin.

1 call to TextCustom::render_textarea()
TextCustom::render in drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php
Render the area

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php, line 58
Definition of Drupal\views\Plugin\views\area\TextCustom.

Class

TextCustom
Views area text handler.

Namespace

Drupal\views\Plugin\views\area

Code

function render_textarea($value) {
  if ($value) {
    if ($this->options['tokenize']) {
      $value = $this->view->style_plugin
        ->tokenize_value($value, 0);
    }
    return $this
      ->sanitizeValue($this
      ->globalTokenReplace($value), 'xss_admin');
  }
}