function book_menu_block_get_menus in Menu Block 7.3
Same name and namespace in other branches
- 6.2 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 894 - 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;
}