You are here

function restrict_ip_menu in Restrict IP 6

Same name and namespace in other branches
  1. 7.2 restrict_ip.module \restrict_ip_menu()
  2. 7 restrict_ip.module \restrict_ip_menu()

File

./restrict_ip.module, line 4

Code

function restrict_ip_menu() {
  $menu['admin/settings/restrict_ip'] = array(
    'title' => 'Allowed IP Address List',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'restrict_ip_settings',
    ),
    'access arguments' => array(
      'Administer Restricted IP addresses',
    ),
  );
  $menu['restrict_ip/access_denied'] = array(
    'title' => 'Access Denied',
    'page callback' => 'denied',
  );
  return $menu;
}