public function Botcha::permission in BOTCHA Spam Prevention 7.3
Implements hook_permission().
Overrides IBotcha::permission
File
- controller/
application/ botcha.application.controller.inc, line 300 - Contains Botcha class.
Class
- Botcha
- Just a middleman for achieving purposes such as:
Code
public function permission() {
return array(
// @todo Abstract it.
//'administer BOTCHA settings',
//'skip BOTCHA',
'administer BOTCHA settings' => array(
'title' => t('Administer BOTCHA settings'),
),
'skip BOTCHA' => array(
'title' => t('Skip BOTCHA'),
'description' => t('Users with this permission will not be subjected to BOTCHA.'),
),
);
}