You are here

function simple_access_owner_revoke_submit in Simple Access 8.3

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

Submit callback for the owner revoke form.

File

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

Code

function simple_access_owner_revoke_submit($form, &$form_state) {
  $settings = [
    'sa_owner_permissions' => $form_state['values']['sa_owner_permissions'],
  ];
  return $settings;
}