1.12.x book.module book_menu_name($bid)
1.10.x book.module book_menu_name($bid)
1.11.x book.module book_menu_name($bid)
1.7.x book.module book_menu_name($bid)
1.8.x book.module book_menu_name($bid)
1.9.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.

File

modules/book/book.module, line 829
Allows users to create and organize related content in an outline.

Code

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