You are here

function bg_image_permission in Background Images 7

Implements hook_permission().

File

./bg_image.module, line 32
Allows for customizable background images per page

Code

function bg_image_permission() {
  return array(
    'administer background image' => array(
      'title' => t('Administer Background Image'),
    ),
    'view all background images' => array(
      'title' => t('View All Background Images'),
      'description' => t('View all background images regardless of node access permissions'),
    ),
  );
}