function matomo_menu in Matomo Analytics 7.2
Implements hook_menu().
File
- ./
matomo.module, line 74 - Drupal Module: Matomo
Code
function matomo_menu() {
$items['admin/config/system/matomo'] = array(
'title' => 'Matomo Analytics',
'description' => 'Configure the settings used to generate your Matomo tracking code.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'matomo_admin_settings_form',
),
'access arguments' => array(
'administer matomo',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'matomo.admin.inc',
);
return $items;
}