You are here

function ip_ban_menu in IP Ban 7

Implements hook_menu().

File

./ip_ban.module, line 39

Code

function ip_ban_menu() {
  $items = array();
  $items['admin/config/ip_ban'] = array(
    'title' => 'IP Ban',
    'description' => 'Set IP addresses and/or countries to read only, or ban them entirely.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ip_ban_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'ip_ban.admin.inc',
  );
  return $items;
}