Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AreaPluginBase.php

function 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.

2 calls to AreaPluginBase::isEmpty()
View::isEmpty in core/modules/views/src/Plugin/views/area/View.php
Does that area have nothing to show.
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']);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal