function access_admin_grants_submit in Access Control Kit 7
Form submission handler for access_admin_grants().
See also
access_admin_grants_validate()
1 string reference to 'access_admin_grants_submit'
- access_admin_grants in ./
access_grants.admin.inc - Form constructor for the grant admin form.
File
- ./
access_grants.admin.inc, line 152 - Access grants administrative UI for the access control kit module.
Code
function access_admin_grants_submit($form, &$form_state) {
// Filter out unchecked grants.
array_filter($form_state['values']['grants']);
if ($form_state['values']['op'] == t('Delete selected grants')) {
$form_state['values']['operation'] = 'delete';
$form_state['rebuild'] = TRUE;
}
}