You are here

function access_test_access_info in Access Control Kit 7

Implements hook_access_info().

File

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

Code

function access_test_access_info() {

  // Declare some fictitious access-controllable object types.
  $info['cat'] = array(
    'label' => t('Kitten'),
  );
  $info['dog'] = array(
    'label' => t('Dog'),
  );
  $info['bird'] = array(
    'label' => t('Bird'),
  );
  return $info;
}