You are here

function statistics_advanced_menu in Statistics Advanced 6

Implementation of hook_menu().

File

./statistics_advanced.module, line 21
Adds advanced settings and features for the core Statistics module.

Code

function statistics_advanced_menu() {
  $items['admin/reports/settings/default'] = array(
    'title' => 'Settings',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'file path' => drupal_get_path('module', 'statistics'),
  );
  $items['admin/reports/settings/advanced'] = array(
    'title' => 'Advanced settings',
    'description' => 'Configure advanced statistics settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'statistics_advanced_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
    'file' => 'statistics_advanced.admin.inc',
  );
  return $items;
}