You are here

function hook_access_scheme_info_alter in Access Control Kit 7

Alters the access scheme type info.

Modules may implement this hook to alter the information that defines the types of data that can form the basis for an access scheme. All properties that are available in hook_access_scheme_info() can be altered here.

Parameters

array $info: The access scheme type info, keyed by scheme type name.

See also

hook_access_scheme_info()

1 function implements hook_access_scheme_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_scheme_info_alter in tests/access_test.module
Implements hook_access_scheme_info_alter().
1 invocation of hook_access_scheme_info_alter()
access_scheme_info in ./access.module
Returns information on available access scheme types.

File

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

Code

function hook_access_scheme_info_alter(&$info) {

  // Change the label used for taxonomy-based schemes.
  $info['taxonomy_term']['label'] = t('Tags');
}