You are here

function ad_weight_probability_perm in Advertisement 5.2

Same name and namespace in other branches
  1. 6.3 weight/probability/ad_weight_probability.module \ad_weight_probability_perm()
  2. 6.2 weight/probability/ad_weight_probability.module \ad_weight_probability_perm()
  3. 7 weight/probability/ad_weight_probability.module \ad_weight_probability_perm()

Implementation of hook_perm().

File

weight/probability/ad_weight_probability.module, line 60
A plug in for the ad.module, allowing an admin to set the probability that a given advertisement will be displayed.

Code

function ad_weight_probability_perm() {
  return array(
    t('configure ad probability'),
  );
}