1 user.admin.inc user_admin_role_delete_confirm($form, &$form_state, $role)

Form to confirm role delete operation.

File

core/modules/user/user.admin.inc, line 695
Admin page callback file for the user module.

Code

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