function book_menu_name

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 864
Allows users to create and organize related content in an outline.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.module/function/book_menu_name/7.x