function TextCustom::render

Render the area

Overrides AreaPluginBase::render

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php, line 47
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($this->options['content']);
  }
  return '';
}