You are here

function optimizely_menu in Optimizely 6

Same name and namespace in other branches
  1. 7.3 optimizely.module \optimizely_menu()
  2. 7 optimizely.module \optimizely_menu()
  3. 7.2 optimizely.module \optimizely_menu()

Implements hook_menu().

File

./optimizely.module, line 44
Optimizely module

Code

function optimizely_menu() {
  $items['admin/settings/optimizely'] = array(
    'title' => 'Optimizely Setup',
    'description' => 'Configure your Optimizely account ID, and turn the module on/off.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'optimizely_setup_form',
    ),
    'access arguments' => array(
      'administer optimizely',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}