function download_count_statistics_menu in Download Count 6.2
Implementation of hook_menu().
File
- ./
download_count_statistics.module, line 38 - Provides statistics for download_count module data.
Code
function download_count_statistics_menu() {
$items = array();
$items['admin/settings/download_count/statistics'] = array(
'title' => 'Statistics',
'description' => 'Tracks file downloads for files stored in the drupal files table.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'download_count_statistics_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'weight' => 2,
'type' => MENU_LOCAL_TASK,
'file' => 'includes/download_count_statistics.admin.inc',
);
$items['download_count/%download_count_statistics_entry/details'] = array(
'title' => 'Download Count Details',
'page callback' => 'download_count_statistics_details_page',
'page arguments' => array(
1,
),
'access arguments' => array(
'view download count statistics',
),
'type' => MENU_CALLBACK,
'file' => 'includes/download_count_statistics.pages.inc',
);
return $items;
}