function honeypot_permission in Honeypot 7
Implements hook_permission().
File
- ./
honeypot.module, line 27 - Honeypot module, for deterring spam bots from completing Drupal forms.
Code
function honeypot_permission() {
return array(
'administer honeypot' => array(
'title' => t('Administer Honeypot'),
'description' => t('Administer Honeypot-protected forms and settings'),
),
'bypass honeypot protection' => array(
'title' => t('Bypass Honeypot protection'),
'description' => t('Bypass Honeypot form protection.'),
),
);
}