You are here

public function DisplayPluginInterface::outputIsEmpty in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::outputIsEmpty()

Is the output of the view empty.

If a view has no result and neither the empty, nor the footer nor the header does show anything return FALSE.

Return value

bool Returns TRUE if the output is empty, else FALSE.

1 method overrides DisplayPluginInterface::outputIsEmpty()
DisplayPluginBase::outputIsEmpty in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Is the output of the view empty.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 559

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function outputIsEmpty();