You are here

public function DisplayPluginInterface::outputIsEmpty in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::outputIsEmpty()
  2. 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.

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();