function 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 521
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function showExposeButton(&$form, FormStateInterface $form_state) {
}