function user_badges_permission in User Badges 7.3
Same name and namespace in other branches
- 7.4 user_badges.module \user_badges_permission()
- 7 user_badges.module \user_badges_permission()
- 7.2 user_badges.module \user_badges_permission()
Implements hook_permission().
File
- ./
user_badges.module, line 78 - @brief User Badges module file
Code
function user_badges_permission() {
return array(
'access user badges' => array(
'title' => t('Access user badges'),
'description' => t('Display user badges to the user.'),
),
'manage badges' => array(
'title' => t('Manage badges'),
'description' => t('Access the User Badges administration pages.'),
),
'change badge assignments' => array(
'title' => t('Change badge assignments'),
'description' => t('Access the "Badges" tab in user profiles.'),
),
'change own badge assignments' => array(
'title' => t('Change own badge assignments'),
'description' => t('Access the "Badges" tab in their own user profile.'),
),
'suppress badges in user profile' => array(
'title' => t("Don't show badges in user profile"),
'description' => t("Don't show badges when viewing a user profile."),
),
);
}