public function BookManagerInterface::getAllBooks in Drupal 9
Same name and namespace in other branches
- 8 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.
1 method overrides BookManagerInterface::getAllBooks()
- BookManager::getAllBooks in core/
modules/ book/ src/ BookManager.php - Returns an array of all books.
File
- core/
modules/ book/ src/ BookManagerInterface.php, line 168
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function getAllBooks();