You are here

function node_gallery_perm in Node Gallery 6

Same name and namespace in other branches
  1. 6.3 node_gallery.module \node_gallery_perm()
  2. 6.2 node_gallery.module \node_gallery_perm()

Implementation of hook_perm().

File

./node_gallery.module, line 27
Node gallery module file.

Code

function node_gallery_perm() {
  return array(
    NODE_GALLERY_PERM_ADMIN_GALLERY,
    NODE_GALLERY_PERM_VIEW_GALLERY,
  );
}