Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TextCustom.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal