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

Breadcrumb

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

function DisplayPluginInterface::outputIsEmpty

Is the output of the view empty.

If a view has no result and neither the empty, nor the footer nor the header does show anything return FALSE.

Return value

bool Returns TRUE if the output is empty, else FALSE.

1 method overrides DisplayPluginInterface::outputIsEmpty()
DisplayPluginBase::outputIsEmpty in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Is the output of the view empty.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 565

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function outputIsEmpty();

API Navigation

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