function statcounter_menu in StatCounter 7.2
Same name and namespace in other branches
- 5 statcounter.module \statcounter_menu()
- 6 statcounter.module \statcounter_menu()
Implements hook_menu().
File
- ./
statcounter.module, line 56 - Drupal Module: Statcounter Adds the required Javascript to the bottom of all your Drupal pages to allow tracking by the Statcounter statistics service.
Code
function statcounter_menu() {
$items['admin/config/system/statcounter'] = array(
'title' => 'Statcounter',
'description' => 'Configure the settings used to generate your Statcounter tracking code.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'statcounter_admin_settings_form',
),
'access arguments' => array(
'administer statcounter',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'statcounter.admin.inc',
);
return $items;
}