You are here

function TextCustom::render_textarea_custom in Views (for Drupal 7) 8.3

Render a text area with filter_xss_admin.

1 call to TextCustom::render_textarea_custom()
TextCustom::render in lib/Drupal/views/Plugin/views/area/TextCustom.php
Render the area

File

lib/Drupal/views/Plugin/views/area/TextCustom.php, line 53
Definition of Drupal\views\Plugin\views\area\TextCustom.

Class

TextCustom
Views area text handler.

Namespace

Drupal\views\Plugin\views\area

Code

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