You are here

function addressfield_tokens_menu in Addressfield Tokens 7

Implements hook_menu().

File

./addressfield_tokens.module, line 10
Main components.

Code

function addressfield_tokens_menu() {
  $items = array();
  $items['admin/config/regional/address'] = array(
    'title' => 'Addresses',
    'description' => 'Settings for address fields and tokens',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'addressfield_tokens_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'addressfield_tokens.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}