You are here

function statcounter_menu in StatCounter 6

Same name and namespace in other branches
  1. 5 statcounter.module \statcounter_menu()
  2. 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() {
  $items = array();
  $items['admin/settings/statcounter'] = array(
    'title' => t('StatCounter'),
    'description' => t('Configure StatCounter integration.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'statcounter_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer statcounter',
    ),
  );
  return $items;
}