function Attachment::usesExposed
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/Attachment.php \Drupal\views\Plugin\views\display\Attachment::usesExposed()
- 10 core/modules/views/src/Plugin/views/display/Attachment.php \Drupal\views\Plugin\views\display\Attachment::usesExposed()
- 11.x core/modules/views/src/Plugin/views/display/Attachment.php \Drupal\views\Plugin\views\display\Attachment::usesExposed()
Overrides DisplayPluginBase::usesExposed
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ Attachment.php, line 279
Class
- Attachment
- The plugin that handles an attachment display.
Namespace
Drupal\views\Plugin\views\displayCode
public function usesExposed() {
// Attachment displays only use exposed widgets if they are set to inherit
// the exposed filter settings of their parent display.
if (!empty($this->options['inherit_exposed_filters']) && parent::usesExposed()) {
return TRUE;
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.