function _calendar_legend_form_submit in Calendar 5.2
Save requested values.
1 call to _calendar_legend_form_submit()
- calendar_legend_form_submit in ./
calendar.module - Save Setup values.
File
- ./
calendar_admin.inc, line 565 - This file contains administrative functions used only when setting up the calendar and views_hooks() that are called infrequently and cached. No need to parse all this code the rest of the time.
Code
function _calendar_legend_form_submit($form_id, $form_values) {
$view_name = $form_values['view_name'];
variable_set('calendar_color_' . $view_name, $form_values['color']);
drupal_set_message(t('Calendar legend settings have been updated.'));
}