function analytics_dashboard_menu in Google Chart Tools 7
Implements hook_menu().
File
- analytics_dashboard/
analytics_dashboard.module, line 5
Code
function analytics_dashboard_menu() {
$items = array();
$items['admin/reports/analytics-dashboard'] = array(
'title' => 'Analytics',
'access arguments' => array(
'view analytics dashboard',
),
'page callback' => 'analytics_dashboard_page',
);
// Settings page
$items['admin/config/analytics-dashboard'] = array(
'title' => 'Analytics dashboard configuration',
'description' => 'Configure the Analytics dashboard page',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'analytics_dashboard_admin_settings',
),
'access arguments' => array(
'administer analytics dashboard',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'analytics_dashboard.admin.inc',
);
return $items;
}