You are here

function qtip_menu in qTip (Stylish jQuery Tooltips) 7

Same name and namespace in other branches
  1. 6.2 qtip.module \qtip_menu()
  2. 6 qtip.module \qtip_menu()
  3. 7.2 qtip.module \qtip_menu()

Implements hook_menu().

File

./qtip.module, line 98

Code

function qtip_menu() {
  $items = array();
  $items['admin/config/user-interface/qtip'] = array(
    'title' => 'qTips',
    'description' => 'Settings for the qTip module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'qtip_settings_form',
    ),
    'access arguments' => array(
      'administer qtip',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'qtip.admin.inc',
  );
  $items['qtip-examples'] = array(
    'title' => 'qTip Examples',
    'description' => 'A test page for qTips',
    'page callback' => 'qtip_get_test_markup',
    'access arguments' => array(
      'administer qtip',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}