You are here

function access_test_access_info_alter in Access Control Kit 7

Implements hook_access_info_alter().

File

tests/access_test.module, line 25
A dummy module for testing the access control kit API.

Code

function access_test_access_info_alter(&$info) {

  // Override one of the object type labels that we set above.
  if (isset($info['cat']['label'])) {
    $info['cat']['label'] = t('Cat');
  }
}