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