You are here

function fancybox_permission in fancyBox 7.2

Same name and namespace in other branches
  1. 7 fancybox.module \fancybox_permission()

Implementation of hook_permission().

File

./fancybox.module, line 119
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_permission() {
  return array(
    'administer fancybox' => array(
      'title' => t('Administer fancyBox access'),
      'description' => t('Allow administrators to change fancyBox settings.'),
    ),
  );
}