You are here

function access_access_handler_info in Access Control Kit 7

Implements hook_access_handler_info().

File

./access.access.inc, line 178
Access control kit API hook implementations to integrate with core modules.

Code

function access_access_handler_info() {

  // Generic Field API handler.
  $info['ACKEntityField'] = array(
    'label' => t('Field instance'),
    'scheme types' => array(
      'list_integer',
      'list_float',
      'list_text',
    ),
    'object types' => array(
      'fieldable entity',
    ),
  );

  // Handler for taxonomy term reference fields.
  if (module_exists('taxonomy')) {
    $info['ACKEntityTaxonomyTermReference'] = array(
      'label' => t('Term reference field'),
      'scheme types' => array(
        'taxonomy_term',
      ),
      'object types' => array(
        'fieldable entity',
      ),
    );
  }
  return $info;
}