You are here

function flickrgallery_permission in FlickrGallery 7

Same name and namespace in other branches
  1. 7.3 flickrgallery.module \flickrgallery_permission()
  2. 7.2 flickrgallery.module \flickrgallery_permission()

Implements hook_permission().

File

./flickrgallery.module, line 19
This module shows the sets and photo's from a Flickr account

Code

function flickrgallery_permission() {
  return array(
    'view photosets' => array(
      'title' => t('View photosets'),
      'description' => t('View the sets and images from the Flickr Gallery'),
    ),
    'administer flickr settings' => array(
      'title' => t('Administer Flickr settings'),
      'description' => t('Administer the settings for the Flickr Gallery'),
    ),
  );
}