You are here

function access_test_access_handler_info_alter in Access Control Kit 7

Implements hook_access_handler_info_alter().

File

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

Code

function access_test_access_handler_info_alter(&$info) {

  // Add another object type to the handler that we registered above.
  if (isset($info['ACKTestMeowHandler']['object types'])) {
    $info['ACKTestMeowHandler']['object types'][] = 'dog';
  }
}