function simple_access_profile_disable_submit in Simple Access 6.2
Same name and namespace in other branches
- 8.3 simple_access.module \simple_access_profile_disable_submit()
- 7.2 simple_access.module \simple_access_profile_disable_submit()
File
- ./
simple_access.module, line 938 - This module allows administrators to make nodes viewable by specific 'access groups'. Each access group can contain any number of roles. If a node is not assigned to any access groups, it will remain viewable by all users.
Code
function simple_access_profile_disable_submit($form, &$form_state) {
$settings = array(
'sa_profiles' => $form_state['values']['sa_profiles'],
);
return $settings;
}