You are here

protected function CalendarSystemsViewsDate::valueForm in Calendar Systems 8.3

@inheritDoc

Overrides Date::valueForm

File

src/Plugin/views/filter/CalendarSystemsViewsDate.php, line 22

Class

CalendarSystemsViewsDate
Filter to handle dates stored as a timestamp.

Namespace

Drupal\calendar_systems\Plugin\views\filter

Code

protected function valueForm(&$form, FormStateInterface $form_state) {
  parent::valueForm($form, $form_state);
  if (isset($form['value'])) {
    $form['value']['#attributes']['autocomplete'] = 'off';
  }
}