function analytics_ui_menu in Analytics 6
Implementation of hook_menu().
File
- modules/
analytics_ui/ analytics_ui.module, line 45 - Administrative interface for the Community Analytics module.
Code
function analytics_ui_menu() {
$items = array();
$items['admin/reports/analytics'] = array(
'title' => 'Analytics overview',
'description' => 'View analytics reports',
'page callback' => 'analytics_reports_overview',
'access arguments' => array(
'access analytics reports',
),
'file' => 'analytics_ui.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/reports/analytics/event/%analytics_analytic'] = array(
'title callback' => 'analytics_ui_event_title',
'title arguments' => array(
4,
),
'page callback' => 'analytics_event_overview',
'page arguments' => array(
4,
),
'access arguments' => array(
'access analytics reports',
),
'file' => 'analytics_ui.admin.inc',
'type' => MENU_CALLBACK,
);
return $items;
}