function HandlerBase::buildExposeForm

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::buildExposeForm()
  2. 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::buildExposeForm()
  3. 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::buildExposeForm()

Form for exposed handler options.

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.

1 call to HandlerBase::buildExposeForm()
HandlerBase::showExposeForm in core/modules/views/src/Plugin/views/HandlerBase.php
Shortcut to display the exposed options form.
2 methods override HandlerBase::buildExposeForm()
FilterPluginBase::buildExposeForm in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Options form subform for exposed filter options.
SortPluginBase::buildExposeForm in core/modules/views/src/Plugin/views/sort/SortPluginBase.php

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 488

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function buildExposeForm(&$form, FormStateInterface $form_state) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.