You are here

function simplenews_statistics_ga_menu in Simplenews Statistics 7

Same name and namespace in other branches
  1. 7.2 simplenews_statistics_ga/simplenews_statistics_ga.module \simplenews_statistics_ga_menu()

Implements hook_menu().

File

simplenews_statistics_ga/simplenews_statistics_ga.module, line 11
Main simplenews statistics Google Analytics file.

Code

function simplenews_statistics_ga_menu() {
  $items['admin/config/services/simplenews/statistics/ga'] = array(
    'title' => 'Google Analytics',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'simplenews_statistics_ga_admin_settings_form',
    ),
    'access arguments' => array(
      'administer GA for newsletter statistics',
    ),
    'file' => 'simplenews_statistics_ga.admin.inc',
  );
  return $items;
}