function HandlerBase::showExposeButton
Same name in other branches
- 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::showExposeButton()
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::showExposeButton()
- 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::showExposeButton()
Shortcut to display the expose/hide button.
Parameters
array $form: An alterable, associative array containing the structure of the form, passed by reference.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
2 methods override HandlerBase::showExposeButton()
- FilterPluginBase::showExposeButton in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Shortcut to display the expose/hide button.
- SortPluginBase::showExposeButton in core/
modules/ views/ src/ Plugin/ views/ sort/ SortPluginBase.php - Shortcut to display the expose/hide button.
File
-
core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php, line 520
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function showExposeButton(&$form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.