You are here

public function BookOutlineStorageInterface::getBookSubtree in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::getBookSubtree()

Get book subtree.

Parameters

array $link: A fully loaded book link.

int $max_depth: The maximum supported depth of the book tree.

Return value

array Array of unordered subtree book items.

1 method overrides BookOutlineStorageInterface::getBookSubtree()
BookOutlineStorage::getBookSubtree in core/modules/book/src/BookOutlineStorage.php
Get book subtree.

File

core/modules/book/src/BookOutlineStorageInterface.php, line 173
Contains \Drupal\book\BookOutlineStorageInterface.

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function getBookSubtree($link, $max_depth);