function BookManagerInterface::getAllBooks

Same name in other branches
  1. 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getAllBooks()
  2. 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getAllBooks()
  3. 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getAllBooks()

Returns an array of all books.

This list may be used for generating a list of all the books, or for building the options for a form select.

Return value

array An array of all books.

File

core/modules/book/src/BookManagerInterface.php, line 165

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function getAllBooks();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.