You are here

function dynamic_background_permission in Dynamic Background 7

Same name and namespace in other branches
  1. 7.2 dynamic_background.module \dynamic_background_permission()

Implements hook_permission().

File

./dynamic_background.module, line 17
This module enables administrators to upload images used as background on the site. The selected background image link is exposed as either $background in the page.tpl file or as /background.css.

Code

function dynamic_background_permission() {
  return array(
    'configure dynamic backgrounds' => array(
      'title' => t('Configure dynamic backgrounds'),
    ),
    'set dynamic backgrounds' => array(
      'title' => t('Set dynamic backgrounds'),
    ),
    'dynamic backgrounds css' => array(
      'title' => t('Access dynamic backgrounds css'),
    ),
    'dynamic backgrounds weight' => array(
      'title' => t('Reorder dynamic backgrounds weight'),
    ),
  );
}