function bat_api_permission in Booking and Availability Management API 7.2
Same name and namespace in other branches
- 7 bat_api.module \bat_api_permission()
Implements hook_permission().
File
- ./
bat_api.module, line 54 - API access to booking data for BAT.
Code
function bat_api_permission() {
return array(
'access types index service' => array(
'title' => t('Access types index service'),
'description' => t('Access types index service.'),
),
'access edit type service' => array(
'title' => t('Access edit type service'),
'description' => t('Access edit type service.'),
),
'access add type service' => array(
'title' => t('Access add type service'),
'description' => t('Access add type service.'),
),
'access units index service' => array(
'title' => t('Access units index service'),
'description' => t('Access units index service.'),
),
'access edit unit service' => array(
'title' => t('Access edit unit service'),
'description' => t('Access edit unit service.'),
),
'access add unit service' => array(
'title' => t('Access add unit service'),
'description' => t('Access add unit service.'),
),
'access units calendar index service' => array(
'title' => t('Access units calendar index service'),
'description' => t('Access units calendar index service.'),
),
'access matching units calendar index service' => array(
'title' => t('Access matching units calendar index service'),
'description' => t('Access matching units calendar index service.'),
),
'access events index service' => array(
'title' => t('Access events index service'),
'description' => t('Access events index service.'),
),
'access events calendar index service' => array(
'title' => t('Access events calendar index service'),
'description' => t('Access events calendar index service.'),
),
'access edit event service' => array(
'title' => t('Access edit event service'),
'description' => t('Access edit event service.'),
),
);
}