function BookOutlineStorageInterface::getBookSubtree

Same name in other branches
  1. 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::getBookSubtree()
  2. 8.9.x core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::getBookSubtree()
  3. 10 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.

File

core/modules/book/src/BookOutlineStorageInterface.php, line 166

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function getBookSubtree($link, $max_depth);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.