-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatistics_client.module
35 lines (32 loc) · 1 KB
/
statistics_client.module
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* @file
* Send statistics to a server.
*
* A longer description will follow here.
*/
require_once 'includes/statistics_client.rpc.inc';
/**
* Implements hook_menu().
*/
function statistics_client_menu() {
$items['admin/config/statistics_client'] = array(
'title' => 'Statistics Client',
'description' => 'Description of Statistics Client',
'position' => 'right',
'weight' => -5,
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('administer site configuration'),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/config/statistics_client/settings'] = array(
'title' => 'Statistics Client settings',
'description' => 'Change how Statistics Client behaves',
'page callback' => 'statistics_client_admin_settings',
'access arguments' => array('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
'file' => 'statistics_client.admin.inc',
);
return $items;
}