function BookManagerInterface::getAllBooks

Same name in other branches
  1. 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getAllBooks()
  2. 10 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.

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\book

Code

public function getAllBooks();

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