function user_admin_role_delete_confirm

Form to confirm role delete operation.

1 string reference to 'user_admin_role_delete_confirm'
user_menu in modules/user/user.module
Implements hook_menu().

File

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

Code

function user_admin_role_delete_confirm($form, &$form_state, $role) {
    $form['rid'] = array(
        '#type' => 'value',
        '#value' => $role->rid,
    );
    return confirm_form($form, t('Are you sure you want to delete the role %name ?', array(
        '%name' => $role->name,
    )), 'admin/people/permissions/roles', t('This action cannot be undone.'), t('Delete'));
}

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