You are here

function nicemessages_permission in Nice messages 7

Same name and namespace in other branches
  1. 7.2 nicemessages.module \nicemessages_permission()

Implements hook_permission().

File

./nicemessages.module, line 48
Nicemessages module

Code

function nicemessages_permission() {
  return array(
    'administer nicemessages' => array(
      'title' => t('Administer nicemessages'),
      'description' => t('Adjust nicemessages settings.'),
    ),
    'toggle nicemessages' => array(
      'title' => t('Toggle nicemessages'),
      'description' => t('Users with this permission can choose to turn nicemessages on or off for their account.'),
    ),
  );
}