You are here

function taxonomy_access_views_data in Taxonomy Access Control 6

Implements hook_views_data().

File

includes/taxonomy_access.views.inc, line 11
Provides support for the Views module.

Code

function taxonomy_access_views_data() {
  $data = array();
  $data['node']['taxonomy_access_view'] = array(
    'title' => t('Taxonomy Access: grant view'),
    'help' => t('Current user has Taxonomy Access Control view permission.'),
    'filter' => array(
      'handler' => 'taxonomy_access_handler_filter_view',
    ),
  );
  $data['node']['taxonomy_access_update'] = array(
    'title' => t('Taxonomy Access: grant update'),
    'help' => t('Current user has Taxonomy Access Control update permission.'),
    'filter' => array(
      'handler' => 'taxonomy_access_handler_filter_update',
    ),
  );
  $data['node']['taxonomy_access_delete'] = array(
    'title' => t('Taxonomy Access: grant delete'),
    'help' => t('Current user has Taxonomy Access Control delete permission.'),
    'filter' => array(
      'handler' => 'taxonomy_access_handler_filter_delete',
    ),
  );
  $data['node']['taxonomy_access_create'] = array(
    'title' => t('Taxonomy Access: grant create'),
    'help' => t('Current user has Taxonomy Access Control create permission.'),
    'filter' => array(
      'handler' => 'taxonomy_access_handler_filter_create',
    ),
  );
  $data['node']['taxonomy_access_list'] = array(
    'title' => t('Taxonomy Access: grant list'),
    'help' => t('Current user has Taxonomy Access Control list permission.'),
    'filter' => array(
      'handler' => 'taxonomy_access_handler_filter_list',
    ),
  );
  return $data;
}