You are here

protected function DatexViewsDate::valueForm in Datex 8

@inheritDoc

Overrides Date::valueForm

File

src/Plugin/views/filter/DatexViewsDate.php, line 21

Class

DatexViewsDate
Filter to handle dates stored as a timestamp.

Namespace

Drupal\datex\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';
  }
}