function calendar_systems_calendars_form_submit in Calendar Systems 6.2
Form submission callback for calendars listing form.
File
- ./
calendar_systems.admin.inc, line 90 - Implements necessary callbacks for Calendar Systems administration forms.
Code
function calendar_systems_calendars_form_submit($form, &$form_state) {
if ($form_state['values']['default_calendar']) {
variable_set('calendar_systems_default_calendar', $form_state['values']['default_calendar']);
drupal_set_message(t('System default calendar has been successfully updated.'));
}
}