You are here

function access_test_access_scheme_info_alter in Access Control Kit 7

Implements hook_access_scheme_info_alter().

File

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

Code

function access_test_access_scheme_info_alter(&$info) {

  // Override the boolean scheme type's info (defined in access.access.inc).
  if (isset($info['boolean'])) {
    $info['boolean']['label'] = t('Yes or no');
    $info['boolean']['description'] = t('Does it meow?');
    $info['boolean']['settings callback'] = 'access_test_scheme_settings_callback';
  }
}