You are here

function simple_access_profile_delete_confirm in Simple Access 5.2

Same name and namespace in other branches
  1. 6.2 simple_access.admin.inc \simple_access_profile_delete_confirm()
  2. 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.module, line 706
This module allows administrators to make nodes viewable by specific 'access groups'. Each access group can contain any number of roles. If a node is not assigned to any access groups, it will remain viewable by all users.

Code

function simple_access_profile_delete_confirm($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'));
}