function skinr_context_ui_revert_confirm_submit in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_context/skinr_context_ui.admin.inc \skinr_context_ui_revert_confirm_submit()
Form submission handler for skinr_context_ui_revert_confirm().
File
- skinr_context/
skinr_context_ui.admin.inc, line 548 - Admin page callbacks for the Skinr Context UI module.
Code
function skinr_context_ui_revert_confirm_submit($form, &$form_state) {
if ($form_state['values']['confirm']) {
skinr_context_group_revert($form_state['values']['gid']);
watchdog('skinr', 'Reverted a skin configuration group.');
drupal_set_message(t('A skin configuration group has been reverted.'));
}
$form_state['redirect'] = 'admin/structure/skinr/list/groups';
}