function opigno_calendar_event_form_opigno_calendar_event_opigno_calendar_event_form_alter in Opigno calendar event 3.x
Same name and namespace in other branches
- 8 opigno_calendar_event.module \opigno_calendar_event_form_opigno_calendar_event_opigno_calendar_event_form_alter()
File
- ./
opigno_calendar_event.module, line 127 - Main file for the "Calendar event" module.
Code
function opigno_calendar_event_form_opigno_calendar_event_opigno_calendar_event_form_alter(array &$form, FormStateInterface $form_state, $form_id) {
$form['date_daterange']['widget'][0]['value_wrapper']['date']['#attributes']['autocomplete'] = 'off';
$form['date_daterange']['widget'][0]['end_value_wrapper']['date']['#attributes']['autocomplete'] = 'off';
}