You are here

function access_hook_info in Access Control Kit 7

Implements hook_hook_info().

File

./access.module, line 1169
The access control kit module.

Code

function access_hook_info() {
  $group = array(
    'group' => 'access',
  );
  $list = array(
    'access_info',
    'access_handler_info',
    'access_scheme_info',
    'access_scheme_load',
    'access_scheme_presave',
    'access_scheme_insert',
    'access_scheme_update',
    'access_scheme_delete',
    'access_scheme_views_data_alter',
    'access_grant_presave',
    'access_grant_insert',
    'access_grant_update',
    'access_grant_delete',
    'access_grant_view',
  );
  $hooks = array();
  foreach ($list as $hook) {
    $hooks[$hook] = $group;
  }
  return $hooks;
}