function crazyegg_menu in Crazy Egg Integration 7
Same name and namespace in other branches
- 6 crazyegg.module \crazyegg_menu()
Implements hook_menu(). Adds `Crazy Egg` link on the "admin/config" page for easier access to this module
File
- ./
crazyegg.module, line 26 - The official Crazy Egg Plugin for Drupal. The easiest, free way to add your Crazy Egg tracking script to your Drupal site. See https://www.crazyegg.com for details.
Code
function crazyegg_menu() {
$items['admin/config/system/crazyegg'] = array(
'title' => 'Crazy Egg',
'description' => 'Configure Crazy Egg on your website.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'crazyegg_admin_settings_form',
),
'access arguments' => array(
'administer crazy egg',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'includes/admin.inc',
);
return $items;
}