function honeypot_menu in Honeypot 7
Same name and namespace in other branches
- 6 honeypot.module \honeypot_menu()
Implements hook_menu().
File
- ./
honeypot.module, line 11 - Honeypot module, for deterring spam bots from completing Drupal forms.
Code
function honeypot_menu() {
$items['admin/config/content/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;
}