You are here

function libraries_menu in Libraries API 7.2

Implements hook_menu().

File

./libraries.module, line 1021
External library handling for Drupal modules.

Code

function libraries_menu() {
  $items = array();
  $items['admin/reports/libraries'] = array(
    'title' => 'Libraries',
    'description' => 'An overview of libraries installed on this site.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'libraries_admin_overview',
    ),
    'access arguments' => array(
      'access library reports',
    ),
    'file' => 'libraries.admin.inc',
  );
  $items['admin/reports/libraries/%libraries_ui'] = array(
    'title' => 'Library status report',
    'description' => 'Status overview for a single library',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'libraries_admin_library_status_form',
      3,
    ),
    'access arguments' => array(
      'access library reports',
    ),
    'file' => 'libraries.admin.inc',
  );
  return $items;
}