function DisplayPluginInterface::outputIsEmpty
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::outputIsEmpty()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::outputIsEmpty()
- 11.x 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\displayCode
public function outputIsEmpty();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.