You are here

function ip_geoloc_generator_menu in IP Geolocation Views & Maps 7

Same name and namespace in other branches
  1. 8 modules/ip_geoloc_generator/src/Form/ip_geoloc_generator.module \ip_geoloc_generator_menu()

Implements hook_menu().

File

ip_geoloc_generator/ip_geoloc_generator.module, line 131
ip_geoloc_generator.module

Code

function ip_geoloc_generator_menu() {
  $items = array();

  // Put the administrative settings under System on the Configuration page.
  $items['admin/config/system/ip_geoloc_generator'] = array(
    'title' => 'Geolocation Generator',
    'description' => 'Generates random locations to test maps produced with IP Geolocation Views & Maps.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ip_geoloc_generator_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}