function BookManager::getAllBooks
Same name in other branches
- 8.9.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::getAllBooks()
- 10 core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::getAllBooks()
- 10 core/modules/book/src/BookManager.php \Drupal\book\BookManager::getAllBooks()
- 11.x core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::getAllBooks()
- 11.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::getAllBooks()
Overrides BookManagerInterface::getAllBooks
1 call to BookManager::getAllBooks()
- BookManager::addFormElements in core/
modules/ book/ src/ BookManager.php - Builds the common elements of the book form for the node and outline forms.
File
-
core/
modules/ book/ src/ BookManager.php, line 156
Class
- BookManager
- Defines a book manager.
Namespace
Drupal\bookCode
public function getAllBooks() {
if (!isset($this->books)) {
$this->loadBooks();
}
return $this->books;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.