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

Breadcrumb

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

function StylePluginBase::evenEmpty

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

2 calls 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.
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 262

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

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

API Navigation

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