You are here

public function DisplayPluginBase::displaysExposed in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\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
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.
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 270

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function displaysExposed() {
  return TRUE;
}