function simple_access_profile_disable_submit in Simple Access 8.3
Same name and namespace in other branches
- 6.2 simple_access.module \simple_access_profile_disable_submit()
- 7.2 simple_access.module \simple_access_profile_disable_submit()
Submit callback for simple_access_profile_disable form.
File
- ./
simple_access.module, line 839 - Builds simple access definition for content access.
Code
function simple_access_profile_disable_submit($form, &$form_state) {
$context = [
'sa_profiles' => $form_state['values']['sa_profiles'],
];
return $context;
}