function book_menu_name

7.x book.module book_menu_name($bid)
6.x book.module book_menu_name($bid)

Generates the corresponding menu name from a book ID.

Parameters

$bid: The book ID for which to make a menu name.

Return value

The menu name.

5 calls to book_menu_name()
book_node_insert in drupal-7.x/modules/book/book.module
Implements hook_node_insert().
book_node_update in drupal-7.x/modules/book/book.module
Implements hook_node_update().
book_outline_form_submit in drupal-7.x/modules/book/book.pages.inc
Form submission handler for book_outline_form().
book_toc in drupal-7.x/modules/book/book.module
Returns an array of book pages in table of contents order.
_book_update_outline in drupal-7.x/modules/book/book.module
Handles additions and updates to the book outline.

File

drupal-7.x/modules/book/book.module, line 864
Allows users to create and organize related content in an outline.

Code

function book_menu_name($bid) {
  return 'book-toc-' . $bid;
}