You are here

public function DisplayPluginBase::displaysExposed in Views (for Drupal 7) 8.3

Determine if this display should display the exposed filters widgets, so the view will know whether or not to render them.

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

1 method overrides DisplayPluginBase::displaysExposed()
Attachment::displaysExposed in lib/Drupal/views/Plugin/views/display/Attachment.php
If an attachment is set to inherit the exposed filter settings from its parent display, then don't render and display a second set of exposed filter widgets.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 222
Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Namespace

Drupal\views\Plugin\views\display

Code

public function displaysExposed() {
  return TRUE;
}