You are here

function upgrade_status_menu in Upgrade Status 6

Same name and namespace in other branches
  1. 5 upgrade_status.module \upgrade_status_menu()
  2. 7 upgrade_status.module \upgrade_status_menu()

Implementation of hook_menu().

File

./upgrade_status.module, line 46
Checks to see if your installed modules are available for the next major release of Drupal.

Code

function upgrade_status_menu() {
  $items['admin/reports/updates/upgrade'] = array(
    'title' => 'Upgrade status',
    'page callback' => 'upgrade_status_status',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'file' => 'upgrade_status.report.inc',
  );
  $items['admin/reports/updates/upgrade/check'] = array(
    'page callback' => 'upgrade_status_manual_status',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'upgrade_status.fetch.inc',
  );
  return $items;
}