function shorten_permission in Shorten URLs 8
Same name and namespace in other branches
- 8.2 shorten.module \shorten_permission()
- 7.2 shorten.module \shorten_permission()
- 7 shorten.module \shorten_permission()
Implements hook_perm().
File
- ./
shorten.module, line 26 - Shortens URLs via external services.
Code
function shorten_permission() {
return array(
'use Shorten URLs page' => array(
'title' => t('Use URL shortener page'),
),
'manage Shorten URLs API keys' => array(
'title' => t('Manage URL shortener API keys'),
'description' => t('Allow viewing and editing the API keys for third-party URL shortening services.'),
),
);
}