You are here

function units_default_menu in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_default/units_default.module \units_default_menu()

Implements hook_menu().

File

units_default/units_default.module, line 11
Create common units and measures such as length, volume, weight, etc.

Code

function units_default_menu() {
  $items = array();
  $items['admin/structure/units-measure/default'] = array(
    'title' => 'Administer default units',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'units_default_form',
    ),
    'access arguments' => array(
      'administer default units',
    ),
    'file' => 'units_default.pages.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}