You are here

function getlocations_blocks_menu in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_blocks/getlocations_blocks.module \getlocations_blocks_menu()

Implements hook_menu().

File

modules/getlocations_blocks/getlocations_blocks.module, line 18
getlocations_blocks.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_blocks_menu() {
  $items = array();
  $items['getlocations_blocks/city_autocomplete'] = array(
    'page callback' => 'getlocations_blocks_city_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['getlocations_blocks/province_autocomplete'] = array(
    'page callback' => 'getlocations_blocks_province_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['getlocations_blocks/postalcode_autocomplete'] = array(
    'page callback' => 'getlocations_blocks_postalcode_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['getlocations_blocks/country_autocomplete'] = array(
    'page callback' => 'getlocations_blocks_country_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}