Same name and namespace in other branches
- 4.6.x modules/poll.module \poll_perm()
- 4.7.x modules/poll.module \poll_perm()
- 5.x modules/poll/poll.module \poll_perm()
Implementation of hook_perm().
File
- modules/
poll/ poll.module, line 55 - Enables your site to capture votes on different topics in the form of multiple choice questions.
Code
function poll_perm() {
return array(
'create poll content',
'delete own poll content',
'delete any poll content',
'edit any poll content',
'edit own poll content',
'vote on polls',
'cancel own vote',
'inspect all votes',
);
}