You are here

function activity_perm in Activity 5

Same name and namespace in other branches
  1. 5.4 activity.module \activity_perm()
  2. 5.2 activity.module \activity_perm()
  3. 5.3 activity.module \activity_perm()
  4. 6.2 activity.module \activity_perm()
  5. 6 activity.module \activity_perm()

Implementation of hook_perm().

File

./activity.module, line 11
Activity module: Allow users to see their friends' activity on the site.

Code

function activity_perm() {
  return array(
    'administer activity',
    'view activity',
  );
}