function user_admin_role_delete_confirm_submit
7.x user.admin.inc | user_admin_role_delete_confirm_submit($form, &$form_state) |
Form submit handler for user_admin_role_delete_confirm().
File
- drupal-7.x/
modules/ user/ user.admin.inc, line 1048 - Admin page callback file for the user module.
Code
function user_admin_role_delete_confirm_submit($form, &$form_state) {
user_role_delete((int) $form_state['values']['rid']);
drupal_set_message(t('The role has been deleted.'));
$form_state['redirect'] = 'admin/people/permissions/roles';
}