Prints a listing of all books.
string A HTML-formatted string with the listing of all books content.
public function bookRender() {
$book_list = array();
foreach ($this->bookManager
->getAllBooks() as $book) {
$book_list[] = l($book['title'], $book['href'], $book['options']);
}
$item_list = array(
'#theme' => 'item_list',
'#items' => $book_list,
);
return drupal_render($item_list);
}