function ad_perm in Advertisement 5
Same name and namespace in other branches
- 5.2 ad.module \ad_perm()
- 6.3 ad.module \ad_perm()
- 6 ad.module \ad_perm()
- 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',
);
}