You are here

function lightbox2_perm in Lightbox2 6

Same name and namespace in other branches
  1. 5.2 lightbox2.module \lightbox2_perm()
  2. 5 lightbox2.module \lightbox2_perm()

Implementation of hook_perm().

File

./lightbox2.module, line 144
Enables the use of lightbox2 which places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths.

Code

function lightbox2_perm() {
  return array(
    'administer lightbox2',
    'download original image',
  );
}