function _shib_auth_rule_delete_confirm_form in Shibboleth Authentication 7.4
Same name and namespace in other branches
- 6.4 shib_auth_roles_forms.inc \_shib_auth_rule_delete_confirm_form()
This is the confirmation form for deleting a rule.
1 string reference to '_shib_auth_rule_delete_confirm_form'
- shib_auth_menu in ./
shib_auth.module - Implements hook_menu().
File
- ./
shib_auth_roles_forms.inc, line 73 - Roles manager forms.
Code
function _shib_auth_rule_delete_confirm_form($form, &$form_state) {
$id = $form_state['build_info']['args'][0];
$desc = t("The rule with id %id will be deleted permanently!", array(
'%id' => $id,
));
// Make sure the form redirects in the end.
$form['destination'] = array(
'#type' => 'hidden',
'#value' => 'admin/config/people/shib_auth/rules',
);
return confirm_form($form, filter_xss($desc), 'admin/config/people/shib_auth/rules');
}