function piwik_menu in Piwik Web Analytics 7
Same name and namespace in other branches
- 5 piwik.module \piwik_menu()
- 6.2 piwik.module \piwik_menu()
- 6 piwik.module \piwik_menu()
- 7.2 piwik.module \piwik_menu()
Implements hook_menu().
File
- ./
piwik.module, line 47 - Drupal Module: Piwik Adds the required Javascript to the bottom of all your Drupal pages to allow tracking by the Piwik statistics package.
Code
function piwik_menu() {
$items['admin/config/system/piwik'] = array(
'title' => 'Piwik',
'description' => 'Configure the settings used to generate your Piwik tracking code.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'piwik_admin_settings_form',
),
'access arguments' => array(
'administer piwik',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'piwik.admin.inc',
);
return $items;
}