function visually_impaired_module_settings_submit in Visually Impaired Support (module) 7
Submit handler on the theme settings to save the visually_impaired theme.
1 string reference to 'visually_impaired_module_settings_submit'
- visually_impaired_module_form_system_theme_settings_alter in ./
visually_impaired_module.module - Alter the system theme settings form to add the VI theme settings.
File
- ./
visually_impaired_module.module, line 193 - Provides version for visually impaired people.
Code
function visually_impaired_module_settings_submit($form, $form_state) {
if (isset($form_state['values']['visually_impaired_module_selection'])) {
variable_set('visually_impaired_module_selection', $form_state['values']['visually_impaired_module_selection']);
}
}