You are here

function shorten_permission in Shorten URLs 7

Same name and namespace in other branches
  1. 8.2 shorten.module \shorten_permission()
  2. 8 shorten.module \shorten_permission()
  3. 7.2 shorten.module \shorten_permission()

Implements hook_perm().

File

./shorten.module, line 98
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.'),
    ),
  );
}