You are here

public function ViewsSearchApiYearFilterDate::buildExposedForm in Views year filter 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/Plugin/views/filter/ViewsSearchApiYearFilterDate.php, line 67

Class

ViewsSearchApiYearFilterDate
Date/time views filter.

Namespace

Drupal\views_year_filter\Plugin\views\filter

Code

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