You are here

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

Overrides Drupal\views\Plugin\views\AreaPluginBase::render().

Overrides AreaPluginBase::render

File

lib/Drupal/views/Plugin/views/area/Title.php, line 51
Definition of Drupal\views\Plugin\views\area\Title.

Class

Title
Views area title override handler.

Namespace

Drupal\views\Plugin\views\area

Code

function render($empty = FALSE) {
  if (!empty($this->options['title'])) {
    $this->view
      ->setTitle(filter_xss_admin($this->options['title']), PASS_THROUGH);
  }
  return '';
}