You are here

public function Attachment::usesExposed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/display/Attachment.php \Drupal\views\Plugin\views\display\Attachment::usesExposed()

Attachment displays only use exposed widgets if they are set to inherit the exposed filter settings of their parent display.

Overrides DisplayPluginBase::usesExposed

File

core/modules/views/src/Plugin/views/display/Attachment.php, line 278
Contains \Drupal\views\Plugin\views\display\Attachment.

Class

Attachment
The plugin that handles an attachment display.

Namespace

Drupal\views\Plugin\views\display

Code

public function usesExposed() {
  if (!empty($this->options['inherit_exposed_filters']) && parent::usesExposed()) {
    return TRUE;
  }
  return FALSE;
}