You are here

function quotes_permission in Quotes 7

Implements hook_permission().

File

./quotes.module, line 28
The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.

Code

function quotes_permission() {
  return array(
    'access quotes' => array(
      'title' => t('access quotes'),
      'description' => t('Allow quotes display.'),
    ),
    'administer quotes' => array(
      'title' => t('administer quotes'),
      'description' => t('Perform administration tasks for quotes module.'),
    ),
    'create quotes' => array(
      'title' => t('create quotes'),
      'description' => t('Allow the creation of quotes.'),
    ),
    'import quotes' => array(
      'title' => t('import quotes'),
      'description' => t('Allow quotes to be imported to the quotes database.'),
    ),
    'edit own quotes' => array(
      'title' => t('edit own quotes'),
      'description' => t('Allow editing of own quotes.'),
    ),
    'promote quotes to block' => array(
      'title' => t('promote quotes to block'),
      'description' => t('Allow the promotion of quotes to a block.'),
    ),
  );
}