function BookOutlineStorageInterface::hasBooks
Same name in other branches
- 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::hasBooks()
- 10 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::hasBooks()
- 11.x core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::hasBooks()
Checks if there are any books.
Return value
bool TRUE if there are books, FALSE if not.
1 method overrides BookOutlineStorageInterface::hasBooks()
- BookOutlineStorage::hasBooks in core/
modules/ book/ src/ BookOutlineStorage.php - Checks if there are any books.
File
-
core/
modules/ book/ src/ BookOutlineStorageInterface.php, line 24
Class
- BookOutlineStorageInterface
- Defines a common interface for book outline storage classes.
Namespace
Drupal\bookCode
public function hasBooks();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.