You are here

function ad_perm in Advertisement 5

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

Drupal _perm hook. Establishes permissions used by this module.

Return value

An array of permissions used by this module.

File

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

Code

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