You are here

public function DatePopupSearchApi::buildExposedForm in Date Popup 8

Render our chunk of the exposed filter form when selecting

You can override this if it doesn't do what you expect.

Overrides FilterPluginBase::buildExposedForm

File

src/DatePopupSearchApi.php, line 19

Class

DatePopupSearchApi
Defines a class for search api date filter with popup.

Namespace

Drupal\date_popup

Code

public function buildExposedForm(&$form, FormStateInterface $form_state) {
  parent::buildExposedForm($form, $form_state);
  $this
    ->applyDatePopupToForm($form);
}