You are here

function poll_perm in Drupal 4

Same name and namespace in other branches
  1. 5 modules/poll/poll.module \poll_perm()
  2. 6 modules/poll/poll.module \poll_perm()

Implementation of hook_perm().

File

modules/poll.module, line 274
Enables your site to capture votes on different topics in the form of multiple choice questions.

Code

function poll_perm() {
  return array(
    'create polls',
    'vote on polls',
  );
}