function simple_access_profile_delete_confirm in Simple Access 6.2
Same name and namespace in other branches
- 5.2 simple_access.module \simple_access_profile_delete_confirm()
- 7.2 simple_access.admin.inc \simple_access_profile_delete_confirm()
1 string reference to 'simple_access_profile_delete_confirm'
- simple_access_menu in ./
simple_access.module - Implementation of hook_menu().
File
- ./
simple_access.admin.inc, line 252 - House all the admin functions in inc to make the foot print a lot smaller.
Code
function simple_access_profile_delete_confirm(&$form_state, $pid = NULL) {
$form['pid'] = array(
'#type' => 'value',
'#value' => $pid,
);
return confirm_form($form, t('Are you sure you want to delete this profile?'), 'admin/user/sa_profiles', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}