You are here

function optimizely_menu in Optimizely 7

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

Implements hook_menu().

File

./optimizely.module, line 43
Optimizely module

Code

function optimizely_menu() {
  $items['admin/config/system/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;
}