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

Breadcrumb

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

function TextCustom::render

Overrides AreaPluginBase::render

File

core/modules/views/src/Plugin/views/area/TextCustom.php, line 46

Class

TextCustom
Views area text handler.

Namespace

Drupal\views\Plugin\views\area

Code

public function render($empty = FALSE) {
    if (!$empty || !empty($this->options['empty'])) {
        return [
            '#markup' => $this->renderTextarea($this->options['content']),
        ];
    }
    return [];
}

API Navigation

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