You are here

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

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.

Overrides DisplayPluginBase::displaysExposed

File

lib/Drupal/views/Plugin/views/display/Attachment.php, line 291
Definition of Drupal\views\Plugin\views\display\Attachment.

Class

Attachment
The plugin that handles an attachment display.

Namespace

Drupal\views\Plugin\views\display

Code

public function displaysExposed() {
  return $this->options['inherit_exposed_filters'] ? FALSE : TRUE;
}