function themekey_user_profile_form_alter_submit in ThemeKey 7
Same name and namespace in other branches
- 7.3 themekey_user_profile.module \themekey_user_profile_form_alter_submit()
- 7.2 themekey_user_profile.module \themekey_user_profile_form_alter_submit()
Function taxonomy_theme_form_alter_submit().
1 string reference to 'themekey_user_profile_form_alter_submit'
- themekey_user_profile_form_alter in ./
themekey_user_profile.module - Implements hook_form_alter().
File
- ./
themekey_user_profile.module, line 85 - ThemeKey User Profile allows the user to select a personal theme in her user profile. This theme will be used to render the pages instead of the theme the administrator configured as soon as the user logs in.
Code
function themekey_user_profile_form_alter_submit($form, &$form_state) {
themekey_update_static_rule('user:profile_triggers_theme', $form_state['values']['themekey_ui_user_profile']);
}