function access_overview_grants in Access Control Kit 7
Menu page callback; the access grants overview page.
1 string reference to 'access_overview_grants'
- access_menu in ./
access.module - Implements hook_menu().
File
- ./
access_grants.admin.inc, line 11 - Access grants administrative UI for the access control kit module.
Code
function access_overview_grants($form, &$form_state) {
// Check for the delete confirmation form.
if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
return access_grant_multiple_delete_confirm($form, $form_state, array_filter($form_state['values']['grants']));
}
$form['filter'] = access_admin_grants_filter_form();
$form['#submit'][] = 'access_admin_grants_filter_form_submit';
$form['admin'] = access_admin_grants();
return $form;
}