protected function DatexViewsDateTime::valueForm in Datex 8
@inheritDoc
Overrides Date::valueForm
File
- src/
Plugin/ views/ filter/ DatexViewsDateTime.php, line 21
Class
- DatexViewsDateTime
- Filter to handle dates stored as a timestamp.
Namespace
Drupal\datex\Plugin\views\filterCode
protected function valueForm(&$form, FormStateInterface $form_state) {
parent::valueForm($form, $form_state);
if (isset($form['value'])) {
$form['value']['#attributes']['autocomplete'] = 'off';
}
}