function nicemessages_permission in Nice messages 7.2
Same name and namespace in other branches
- 7 nicemessages.module \nicemessages_permission()
Implements hook_permission().
File
- ./
nicemessages.module, line 46 - 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.'),
),
);
}