You are here

public function Table::evenEmpty in Drupal 10

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

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

Overrides StylePluginBase::evenEmpty

File

core/modules/views/src/Plugin/views/style/Table.php, line 411

Class

Table
Style plugin to render each item as a row in a table.

Namespace

Drupal\views\Plugin\views\style

Code

public function evenEmpty() {
  return parent::evenEmpty() || !empty($this->options['empty_table']);
}