function _shib_auth_rule_clone_confirm_form in Shibboleth Authentication 6.4
Same name and namespace in other branches
- 7.4 shib_auth_roles_forms.inc \_shib_auth_rule_clone_confirm_form()
This is the confirmation form for cloning a rule
1 string reference to '_shib_auth_rule_clone_confirm_form'
- shib_auth_menu in ./
shib_auth.module - Generate the menu element to access the Shibboleth authentication module's administration page @returns HTML text of the administer menu element
File
- ./
shib_auth_roles_forms.inc, line 100 - Roles manager forms.
Code
function _shib_auth_rule_clone_confirm_form(&$form_state, $id) {
$desc = t("The rule with id %id will be cloned", array(
'%id' => $id,
));
// Make sure the form redirects in the end
$form['destination'] = array(
'#type' => 'hidden',
'#value' => 'admin/user/shib_auth/rules',
);
return confirm_form($form, filter_xss($desc), 'admin/user/shib_auth/rules');
}