You are here

function merci_core_menu in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Implements hook_menu().

File

merci_core/merci_core.module, line 46

Code

function merci_core_menu() {
  $items[MERCI_ADMIN_PATH] = array(
    'title' => 'Merci',
    'description' => 'Administer MERCI.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'access administration pages',
    ),
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
    'weight' => -7,
  );
  $items[MERCI_ADMIN_CONFIG_PATH] = array(
    'title' => 'Configuration',
    'description' => 'Configure settings for MERCI.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 50,
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
  );
  return $items;
}