You are here

public function AreaPluginBase::isEmpty in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::isEmpty()
  2. 10 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\area

Code

public function isEmpty() {
  return empty($this->options['empty']);
}