You are here

public function BookOutlineStorageInterface::hasBooks in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 29
Contains \Drupal\book\BookOutlineStorageInterface.

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function hasBooks();