You are here

function book_activemenu_menu in Javascript Tools 5

Implementation of hook_activemenu().

Note that this menu is only for .inc files in activemenu's directory. Other modules should implement hook_menu() directly.

File

activemenu/modules/book.inc, line 18

Code

function book_activemenu_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'activemenu/book',
      'title' => t('activemenu book'),
      'access' => user_access('access content'),
      'type' => MENU_CALLBACK,
      'callback' => 'activemenu_js_book',
    );
  }
  return $items;
}