You are here

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

Render the area

Overrides Text::render

File

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

Class

TextCustom
Views area text handler.

Namespace

Drupal\views\Plugin\views\area

Code

function render($empty = FALSE) {
  if (!$empty || !empty($this->options['empty'])) {
    return $this
      ->render_textarea_custom($this->options['content']);
  }
  return '';
}