You are here

function simple_access_group_revoke_submit in Simple Access 8.3

Same name and namespace in other branches
  1. 6.2 simple_access.module \simple_access_group_revoke_submit()
  2. 7.2 simple_access.module \simple_access_group_revoke_submit()

Submit callback for the group revoke form.

File

./simple_access.module, line 759
Builds simple access definition for content access.

Code

function simple_access_group_revoke_submit($form, &$form_state) {
  $context = [
    'sa_group_permissions' => $form_state['values']['sa_group_permissions'],
  ];
  return $context;
}