public function BookOutlineStorageInterface::getChildRelativeDepth in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::getChildRelativeDepth()
Gets child relative depth.
Parameters
array $book_link: The book link.
int $max_depth: The maximum supported depth of the book tree.
Return value
int The depth of the searched book.
1 method overrides BookOutlineStorageInterface::getChildRelativeDepth()
- BookOutlineStorage::getChildRelativeDepth in core/
modules/ book/ src/ BookOutlineStorage.php - Gets child relative depth.
File
- core/
modules/ book/ src/ BookOutlineStorageInterface.php, line 64 - Contains \Drupal\book\BookOutlineStorageInterface.
Class
- BookOutlineStorageInterface
- Defines a common interface for book outline storage classes.
Namespace
Drupal\bookCode
public function getChildRelativeDepth($book_link, $max_depth);