You are here

function googleanalytics_menu in Google Analytics 6.2

Same name and namespace in other branches
  1. 5 googleanalytics.module \googleanalytics_menu()
  2. 6.4 googleanalytics.module \googleanalytics_menu()
  3. 6 googleanalytics.module \googleanalytics_menu()
  4. 6.3 googleanalytics.module \googleanalytics_menu()
  5. 7.2 googleanalytics.module \googleanalytics_menu()
  6. 7 googleanalytics.module \googleanalytics_menu()

File

./googleanalytics.module, line 25

Code

function googleanalytics_menu() {
  $items['admin/settings/googleanalytics'] = array(
    'title' => 'Google Analytics',
    'description' => 'Configure the settings used to generate your Google Analytics tracking code.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'googleanalytics_admin_settings_form',
    ),
    'access arguments' => array(
      'administer google analytics',
    ),
    'file' => 'googleanalytics.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}