You are here

function geoip_menu in GeoIP API 7

Same name and namespace in other branches
  1. 5 geoip.module \geoip_menu()
  2. 6 geoip.module \geoip_menu()
  3. 7.2 geoip.module \geoip_menu()

Implements hook_menu().

Return value

array

File

./geoip.module, line 13
API for using the MaxMind GeoLite Country database.

Code

function geoip_menu() {
  $items['admin/settings/geoip'] = array(
    'title' => 'GeoIP',
    'description' => 'Configure the path to the GeoIP database.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'geoip_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'geoip.admin.inc',
  );
  return $items;
}