You are here

function bootstrap_tour_menu in Bootstrap Tour 7.2

Same name and namespace in other branches
  1. 7 bootstrap_tour.module \bootstrap_tour_menu()

Implements hook_menu().

File

./bootstrap_tour.module, line 74
bootstrap_tour.module

Code

function bootstrap_tour_menu() {
  $items = array();
  $items['admin/structure/tours'] = array(
    'title' => 'Site Tours',
    'access arguments' => array(
      'administer bootstrap tours',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  $items['bootstrap_tour/ajax/end_current_tour'] = array(
    'title' => 'AJAX callback to end current tour',
    'page callback' => 'bootstrap_tour_end_current_tour',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}