function _designkit_system_theme_settings_submit in DesignKit 7
Same name and namespace in other branches
- 6 designkit.admin.inc \_designkit_system_theme_settings_submit()
Submit handler for system_theme_settings.
1 string reference to '_designkit_system_theme_settings_submit'
- designkit_form_system_theme_settings_alter in ./
designkit.module - Theme integration. Implementation of hook_form_alter() for system_theme_settings.
File
- ./
designkit.admin.inc, line 131
Code
function _designkit_system_theme_settings_submit(&$form, &$form_state) {
if (isset($form_state['values']['designkit_image'])) {
variable_set('designkit_image', $form_state['values']['designkit_image']);
}
if (isset($form_state['values']['designkit_color'])) {
variable_set('designkit_color', $form_state['values']['designkit_color']);
}
}