You are here

function hook_access_info_alter in Access Control Kit 7

Alters the access-controllable object type info.

Modules may implement this hook to alter the information that defines the types of objects that can be managed by access grants. All properties that are available in hook_access_info() can be altered here.

Parameters

array $info: The access-controllable object type info, keyed by object type name.

See also

hook_access_info()

1 function implements hook_access_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

access_test_access_info_alter in tests/access_test.module
Implements hook_access_info_alter().
1 invocation of hook_access_info_alter()
access_info in ./access.module
Returns information on available access-controlled object types.

File

./access.api.php, line 57
Hooks provided by the access control kit module.

Code

function hook_access_info_alter(&$info) {

  // Change the label used for nodes.
  $info['node']['label'] = t('Nodes');
}