public function BookOutlineStorageInterface::hasBooks in Drupal 10
Same name and namespace in other branches
- 8 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::hasBooks()
- 9 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.
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();