You are here

function themekey_user_profile_permission in ThemeKey 7.2

Same name and namespace in other branches
  1. 7.3 themekey_user_profile.module \themekey_user_profile_permission()
  2. 7 themekey_user_profile.module \themekey_user_profile_permission()

Implements hook_permission().

Backward compatible to Drupal 6 core.

See also

http://drupal.org/node/559306

File

./themekey_user_profile.module, line 27
ThemeKey User Profile allows the user to select a personal theme in her user profile. This theme will be used to render the pages instead of the theme the administrator configured as soon as the user logs in.

Code

function themekey_user_profile_permission() {
  return array(
    'select different theme' => array(
      'title' => t('Select different theme'),
      'description' => t('A User is able to select a personal theme other than the default theme set by the site administrator.'),
    ),
  );
}