You are here

function poll_perm in Drupal 6

Same name and namespace in other branches
  1. 4 modules/poll.module \poll_perm()
  2. 5 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',
  );
}