function lightbox2_permission in Lightbox2 8
Same name and namespace in other branches
- 7.2 lightbox2.module \lightbox2_permission()
- 7 lightbox2.module \lightbox2_permission()
Implementation of hook_permission().
File
- ./
lightbox2.module, line 143 - 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_permission() {
return array(
'administer lightbox2' => array(
'title' => t('Administer Lightbox2'),
'description' => t('Allow the user administer Lightbox2 settings'),
),
'download original image' => array(
'title' => t('Download Original'),
'description' => t('Create a link that allow the user download the original image'),
),
);
}