You are here

function avatar_selection_perm in Avatar Selection 5.2

Same name and namespace in other branches
  1. 5 avatar_selection.module \avatar_selection_perm()
  2. 6 avatar_selection.module \avatar_selection_perm()

Implementation of hook_perm().

Define the permissions this module uses.

File

./avatar_selection.module, line 34
The Avatar Selection module allows the user to pick an avatar image from a list already loaded by an administrative user, and to the administrator to disable uploading other avatar files by the user.

Code

function avatar_selection_perm() {
  return array(
    'administer avatar selection',
    'access avatars',
    'upload avatar in profile',
  );
}