function captcha_permission in CAPTCHA 7
Implements of hook_permission().
File
- ./
captcha.module, line 112 - This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.
Code
function captcha_permission() {
return array(
'administer CAPTCHA settings' => array(
'title' => t('Administer CAPTCHA settings'),
),
'skip CAPTCHA' => array(
'title' => t('Skip CAPTCHA'),
'description' => t('Users with this permission will not be offered a CAPTCHA.'),
),
);
}