You are here

function hs_book_menu in Hierarchical Select 5.3

Implementation of hook_menu().

File

modules/hs_book.module, line 15
Implementation of the Hierarchical Select API for the Book module.

Code

function hs_book_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/hierarchical_select/book',
      'title' => t('Book'),
      'description' => t('Hierarchical Select configuration for Book'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'hs_book_admin_settings',
      ),
      'type' => MENU_LOCAL_TASK,
    );
  }
  return $items;
}