function shurly_service_permission in ShURLy 7
Same name and namespace in other branches
- 8 shurly_service/shurly_service.module \shurly_service_permission()
Implements hook_permission().
File
- shurly_service/
shurly_service.module, line 14 - Link ShURLy functionalities to services module. @todo
Code
function shurly_service_permission() {
return array(
'administer short URL services' => array(
'title' => t('Administer short URL services'),
),
'Expand short URLs' => array(
'title' => t('Expand short URLs'),
),
'Request custom short URL' => array(
'title' => t('Request custom short URL'),
'description' => t('Allow users to pass a desired custom short URL to the shURLy service.'),
),
);
}