You are here

public function AreaPluginBase::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 126
Contains \Drupal\views\Plugin\views\area\AreaPluginBase.

Class

AreaPluginBase
Base class for area handler plugins.

Namespace

Drupal\views\Plugin\views\area

Code

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