You are here

public function ViewsYearFilterDate::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/ViewsYearFilterDate.php, line 100

Class

ViewsYearFilterDate
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);
}