public function View::isEmpty in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/area/View.php \Drupal\views\Plugin\views\area\View::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.
Overrides AreaPluginBase::isEmpty
File
- core/
modules/ views/ src/ Plugin/ views/ area/ View.php, line 140
Class
- View
- Views area handlers. Insert a view inside of an area.
Namespace
Drupal\views\Plugin\views\areaCode
public function isEmpty() {
if (isset($this->isEmpty)) {
return $this->isEmpty;
}
else {
return parent::isEmpty();
}
}