function DisplayPluginBase::displaysExposed

Determines if this display should display the exposed filters widgets.

Regardless of what this function returns, exposed filters will not be used nor displayed unless usesExposed() returns TRUE.

Overrides DisplayPluginInterface::displaysExposed

2 methods override DisplayPluginBase::displaysExposed()
Attachment::displaysExposed in core/modules/views/src/Plugin/views/display/Attachment.php
Determines if this display should display the exposed filters widgets.
RestExport::displaysExposed in core/modules/rest/src/Plugin/views/display/RestExport.php
Determines if this display should display the exposed filters widgets.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 278

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function displaysExposed() {
  return TRUE;
}

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