function ga_stats_menu in Google Analytics Statistics 7
Same name and namespace in other branches
- 7.2 ga_stats.module \ga_stats_menu()
- 7.x ga_stats.module \ga_stats_menu()
Implements hook_menu().
File
- ./
ga_stats.module, line 6
Code
function ga_stats_menu() {
$items = array();
$items['admin/config/services/ga_stats'] = array(
'title' => 'Google Analytics Statistics',
'description' => 'Configuration for Google Analytics Statistics',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ga_stats_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'ga_stats.admin.inc',
);
$items['admin/config/services/ga_stats/auth'] = array(
'title' => 'Authentication',
'description' => 'Submit API credentials for Google Analytics Statistics',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ga_stats_auth_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'ga_stats.admin.inc',
'type' => MENU_LOCAL_TASK,
);
$items['admin/config/services/ga_stats/default'] = array(
'title' => 'Google Analytics Statistics',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
return $items;
}