You are here

public function TextCustom::renderTextarea in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/area/TextCustom.php \Drupal\views\Plugin\views\area\TextCustom::renderTextarea()
  2. 9 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');
  }
}