You are here

function hook_access_handler_info_alter in Access Control Kit 7

Alters the access handler info.

Modules may implement this hook to alter the information that registers object access handlers for use with access schemes. All properties that are available in hook_access_handler_info() can be altered here.

Parameters

array $info: The access handler info, keyed by object access handler class name.

See also

hook_access_handler_info()

1 function implements hook_access_handler_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_handler_info_alter in tests/access_test.module
Implements hook_access_handler_info_alter().
1 invocation of hook_access_handler_info_alter()
access_handler_info in ./access.module
Returns information on available object access handlers.

File

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

Code

function hook_access_handler_info_alter(&$info) {

  // Change the label used for the node "sticky" property handler.
  $info['ACKNodeSticky']['label'] = t('Node is marked sticky');
}