function vud_node_permission in Vote Up/Down 7
Implementation of hook_permission().
File
- vud_node/
vud_node.module, line 18 - Adds a voting widget to nodes.
Code
function vud_node_permission() {
return array(
'view vote up/down count on nodes' => array(
'title' => t('View Vote Count on Nodes'),
),
'use vote up/down on nodes' => array(
'title' => t('Vote on Nodes'),
'description' => t('Allow users to vote nodes up/down'),
),
'administer vote up/down on nodes' => array(
'title' => t('Administer Voting on Nodes'),
),
'see vote up/down node stats' => array(
'title' => t('View Voting Statistics for Nodes'),
),
);
}