function spambot_menu in Spambot 6.3
Same name and namespace in other branches
- 7 spambot.module \spambot_menu()
Implementation of hook_menu()
File
- ./
spambot.module, line 21
Code
function spambot_menu() {
$items = array();
$items['admin/settings/spambot'] = array(
'title' => 'Spambot',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'spambot_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'spambot.admin.inc',
);
$items['user/%user/spambot'] = array(
'title' => 'Spam',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'spambot_user_spam_admin_form',
1,
),
'access arguments' => array(
'administer users',
),
'type' => MENU_LOCAL_TASK,
'file' => 'spambot.pages.inc',
);
return $items;
}