You are here

function simple_access_delete_group_confirm in Simple Access 7.2

Same name and namespace in other branches
  1. 5.2 simple_access.module \simple_access_delete_group_confirm()
  2. 5 simple_access.module \simple_access_delete_group_confirm()
  3. 6.2 simple_access.admin.inc \simple_access_delete_group_confirm()

Confirm group delete form.

1 string reference to 'simple_access_delete_group_confirm'
simple_access_menu in ./simple_access.module
Implements hook_menu().

File

./simple_access.admin.inc, line 124
House all the admin functions in inc to make the foot print a lot smaller.

Code

function simple_access_delete_group_confirm($form, $form_state, $group) {
  $form['gid'] = array(
    '#type' => 'value',
    '#value' => $group['gid'],
  );
  return confirm_form($form, t('Are you sure you want to delete this group?'), 'admin/config/content/simple-access/groups', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}