function honeypot_menu in Honeypot 6
Same name and namespace in other branches
- 7 honeypot.module \honeypot_menu()
Implementation of hook_menu().
File
- ./
honeypot.module, line 11 - Honeypot module, for deterring spam bots from completing Drupal forms.
Code
function honeypot_menu() {
$items['admin/settings/honeypot'] = array(
'title' => 'Honeypot configuration',
'description' => 'Configure Honeypot spam prevention and the forms on which Honeypot will be used.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'honeypot_admin_form',
),
'access arguments' => array(
'administer honeypot',
),
'file' => 'honeypot.admin.inc',
);
return $items;
}