You are here

function plus1_permission in Plus 1 7

Implements hook_permission().

File

./plus1.module, line 12

Code

function plus1_permission() {
  return array(
    'plus1 vote on node' => array(
      'title' => t('Vote on nodes'),
      'description' => t('Cast votes on site content using the Plus1 voting widget.'),
    ),
    'plus1 vote on comment' => array(
      'title' => t('Vote on comments'),
      'description' => t('Cast votes on site comments using the Plus1 voting widget.'),
    ),
    'plus1 vote on taxonomy_term' => array(
      'title' => t('Vote on taxonomy terms'),
      'description' => t('Cast votes on taxonomy terms using the Plus1 voting widget.'),
    ),
    'administer the plus1 voting widget' => array(
      'title' => t('Administer the voting widget'),
      'description' => t('Make configuration changes to the Plus1 voting widget.'),
    ),
  );
}