You are here

function uc_addresses_perm in Ubercart Addresses 5

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \uc_addresses_perm()
  2. 6.2 uc_addresses.module \uc_addresses_perm()
  3. 6 uc_addresses.module \uc_addresses_perm()

Implementation of hook_perm().

Return value

array An array of permission names.

File

./uc_addresses.module, line 175

Code

function uc_addresses_perm() {
  return array(
    UC_ADDRESSES_ACCESS_VIEW_DEFAULT,
    UC_ADDRESSES_ACCESS_VIEW_ALL,
    UC_ADDRESSES_ACCESS_ADD_EDIT,
  );
}