function certificate_permission in Certificate 3.x
Same name and namespace in other branches
- 8.3 certificate.module \certificate_permission()
- 7.3 certificate.module \certificate_permission()
- 7.2 certificate.module \certificate_permission()
Implements hook_permission().
File
- ./
certificate.module, line 183 - Certificate module.
Code
function certificate_permission() {
return array(
'administer certificates' => array(
'title' => t('administer certificates'),
'description' => t('Configure global certificate settings and mappings.'),
),
'assign certificates' => array(
'title' => t('assign certificates'),
'description' => t('Add or remove certificate mappings on certifiable objects.'),
),
'view all user certificates' => array(
'title' => t('view all user certificates'),
'description' => t('View any certificate earned by another user.'),
),
);
}