You are here

public function StylePluginBase::evenEmpty in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::evenEmpty()
  2. 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::evenEmpty()

Should the output of the style plugin be rendered even if it's an empty view.

1 call to StylePluginBase::evenEmpty()
Table::evenEmpty in core/modules/views/src/Plugin/views/style/Table.php
Should the output of the style plugin be rendered even if it's an empty view.
2 methods override StylePluginBase::evenEmpty()
EntityReference::evenEmpty in core/modules/views/src/Plugin/views/style/EntityReference.php
Should the output of the style plugin be rendered even if it's an empty view.
Table::evenEmpty in core/modules/views/src/Plugin/views/style/Table.php
Should the output of the style plugin be rendered even if it's an empty view.

File

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

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

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