You are here

function dynamic_background_user_permission in Dynamic Background 7

Same name and namespace in other branches
  1. 7.2 modules/dynamic_background_user/dynamic_background_user.module \dynamic_background_user_permission()

Implementation of hook_perm().

File

modules/dynamic_background_user/dynamic_background_user.module, line 13
This module provides user with the option to select a dynamic background image for each user.

Code

function dynamic_background_user_permission() {
  return array(
    'configure user dynamic background' => array(
      'title' => t('Configure user dynamic background'),
    ),
    'user selection of background' => array(
      'title' => t('Allow selection of backgrounds on nodes'),
    ),
  );
}