public function BookOutlineStorageInterface::getBookMenuTree in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::getBookMenuTree()
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.
1 method overrides BookOutlineStorageInterface::getBookMenuTree()
- BookOutlineStorage::getBookMenuTree in core/
modules/ book/ src/ BookOutlineStorage.php - Builds tree data used for the menu tree.
File
- core/
modules/ book/ src/ BookOutlineStorageInterface.php, line 104 - Contains \Drupal\book\BookOutlineStorageInterface.
Class
- BookOutlineStorageInterface
- Defines a common interface for book outline storage classes.
Namespace
Drupal\bookCode
public function getBookMenuTree($bid, $parameters, $min_depth, $max_depth);