function user_admin_role_delete_confirm_submit

Form submit handler for user_admin_role_delete_confirm().

File

modules/user/user.admin.inc, line 1064

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';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.