function opigno_calendar_event_form_submit_handler in Opigno calendar 8
Same name and namespace in other branches
- 3.x opigno_calendar.module \opigno_calendar_event_form_submit_handler()
Submit callback used in opigno_calendar_form_alter().
See also
1 string reference to 'opigno_calendar_event_form_submit_handler'
- opigno_calendar_form_alter in ./
opigno_calendar.module - Implements hook_form_alter().
File
- ./
opigno_calendar.module, line 229 - Contains opigno_calendar.module.
Code
function opigno_calendar_event_form_submit_handler(&$form, FormStateInterface $form_state) {
// Set redirect to calendar page.
$form_state
->setRedirect('view.opigno_calendar.page_month');
}