You are here

function spam_perm in Spam 5

Same name and namespace in other branches
  1. 5.3 spam.module \spam_perm()
  2. 6 spam.module \spam_perm()

Drupal _perm hook. Establishes permissions used in this module.

Return value

array of permissions used by this module.

File

./spam.module, line 645

Code

function spam_perm() {
  return array(
    'report spam',
    'access spam',
    'administer spam',
    'bypass filter',
  );
}