You are here

public function TextCustom::renderTextarea in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 60
Contains \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');
  }
}