function fb_user_permission in Drupal for Facebook 7.4
Same name and namespace in other branches
- 7.3 fb_user.module \fb_user_permission()
Implements hook_permission().
File
- ./
fb_user.module, line 48 - This module manages relations between local Drupal user accounts and their accounts on facebook.com.
Code
function fb_user_permission() {
return array(
FB_USER_PERM_NEVER_MAP => array(
'title' => t('Never map to facebook account'),
'description' => t('Users with this permission will not be linked to Facebook account. This is intended to protect admistrator account from accidentally being associated with Facebook.'),
),
FB_USER_PERM_DELETE_MAP => array(
'title' => t('Delete own fb_user authmap'),
'description' => t('User can break their link to Facebook.'),
),
);
}