You are here

function simple_access_owner_grant_submit in Simple Access 8.3

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

Submit callback for the owner grant form.

File

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

Code

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