public function AreaPluginBase::isEmpty in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::isEmpty()
Does that area have nothing to show.
This method should be overridden by more complex handlers where the output is not static and maybe itself be empty if it's rendered.
Return value
bool Return TRUE if the area is empty, else FALSE.
1 call to AreaPluginBase::isEmpty()
- View::isEmpty in core/
modules/ views/ src/ Plugin/ views/ area/ View.php - Does that area have nothing to show.
1 method overrides AreaPluginBase::isEmpty()
- View::isEmpty in core/
modules/ views/ src/ Plugin/ views/ area/ View.php - Does that area have nothing to show.
File
- core/
modules/ views/ src/ Plugin/ views/ area/ AreaPluginBase.php, line 121
Class
- AreaPluginBase
- Base class for area handler plugins.
Namespace
Drupal\views\Plugin\views\areaCode
public function isEmpty() {
return empty($this->options['empty']);
}