BookOutlineStorageInterface::getBookMenuTree

public BookOutlineStorageInterface::getBookMenuTree($bid, $parameters, $min_depth, $max_depth)

Builds tree data used for the menu tree.

Parameters

int $bid: The ID of the book that we are building the tree for.

array $parameters: An associative array of build parameters. For info about individual parameters see BookManager::bookTreeBuild().

int $min_depth: The minimum depth of book links in the resulting tree.

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

Return value

array Array of loaded book links.

File

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

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function getBookMenuTree($bid, $parameters, $min_depth, $max_depth);
doc_Drupal
2016-10-29 08:48:26
Comments
Leave a Comment

Please login to continue.