function book_menu_block_get_menus in Menu Block 6.2
Same name and namespace in other branches
- 7.3 menu_block.module \book_menu_block_get_menus()
- 7.2 menu_block.module \book_menu_block_get_menus()
Implements hook_menu_block_get_menus() on behalf of book.module.
File
- ./
menu_block.module, line 692 - Provides configurable blocks of menu items.
Code
function book_menu_block_get_menus() {
$menus = array();
foreach (book_get_books() as $book) {
$menus[$book['menu_name']] = $book['title'];
}
return $menus;
}