You are here

public function DisplayPluginBase::renderHeader in Views (for Drupal 7) 8.3

Render the header of the view.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 2441
Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Namespace

Drupal\views\Plugin\views\display

Code

public function renderHeader() {
  $empty = empty($this->view->result);
  return $this
    ->renderArea('header', $empty);
}