You are here

function joyride_menu in Joyride JQuery for Drupal Site Tours 7

Implements hook_menu().

@see

File

./joyride.module, line 185

Code

function joyride_menu() {
  $items = array();
  $items['admin/config/user-interface/joyride'] = array(
    'title' => 'Joyride Demo',
    'page callback' => 'theme',
    'page arguments' => array(
      'joyride_demo',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/config/user-interface/joyride/auto-start'] = array(
    'title' => 'Joyride Demo (Start tour automatically)',
    'page callback' => 'theme',
    'page arguments' => array(
      'joyride_demo',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -10,
  );
  $items['admin/config/user-interface/joyride/manual-trigger'] = array(
    'title' => 'Joyride Demo (Use manual trigger to start tour)',
    'page callback' => 'theme',
    'page arguments' => array(
      'joyride_demo',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
  );
  $items['admin/config/user-interface/joyride/play-once'] = array(
    'title' => 'Joyride Demo (Play tour only once)',
    'page callback' => 'theme',
    'page arguments' => array(
      'joyride_demo',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 20,
  );
  return $items;
}