You are here

function vud_comment_permission in Vote Up/Down 7

Implementation of hook_permission().

File

vud_comment/vud_comment.module, line 30
Adds a voting widget to comments.

Code

function vud_comment_permission() {
  return array(
    'administer vote up/down on comments' => array(
      'title' => t('Administer Vote Up/Down on Comments'),
    ),
    'use vote up/down on comments' => array(
      'title' => t('Vote on Comments'),
    ),
    'view vote up/down count on comments' => array(
      'title' => t('View Vote Count on comments'),
    ),
  );
}