You are here

function ad_perm in Advertisement 6

Same name and namespace in other branches
  1. 5.2 ad.module \ad_perm()
  2. 5 ad.module \ad_perm()
  3. 6.3 ad.module \ad_perm()
  4. 6.2 ad.module \ad_perm()

Implementation of hook_perm().

File

./ad.module, line 458
An advertising system for Drupal powered websites.

Code

function ad_perm() {
  return array(
    'administer advertisements',
    'create advertisements',
    'edit own advertisements',
    'show advertisements',
  );
}