function statcounter_menu in StatCounter 5
Same name and namespace in other branches
- 6 statcounter.module \statcounter_menu()
- 7.2 statcounter.module \statcounter_menu()
Implementation of hook_menu().
File
- ./
statcounter.module, line 47 - Provides an integration with StatCounter which logs user activity.
Code
function statcounter_menu($may_cache) {
if ($may_cache) {
$items = array(
array(
'path' => 'admin/settings/statcounter',
'title' => t('StatCounter'),
'description' => t('Configure StatCounter integration.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'statcounter_settings',
),
'access' => user_access('administer statcounter'),
),
);
return $items;
}
}