function StylePluginBase::evenEmpty

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::evenEmpty()
  2. 10 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::evenEmpty()
  3. 11.x core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::evenEmpty()

Determines if the style plugin is rendered even if the view is empty.

1 call to StylePluginBase::evenEmpty()
Table::evenEmpty in core/modules/views/src/Plugin/views/style/Table.php
Determines if the style plugin is rendered even if the view is empty.
2 methods override StylePluginBase::evenEmpty()
EntityReference::evenEmpty in core/modules/views/src/Plugin/views/style/EntityReference.php
Determines if the style plugin is rendered even if the view is empty.
Table::evenEmpty in core/modules/views/src/Plugin/views/style/Table.php
Determines if the style plugin is rendered even if the view is empty.

File

core/modules/views/src/Plugin/views/style/StylePluginBase.php, line 251

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

public function evenEmpty() {
    return !empty($this->definition['even empty']);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.