function BookManagerInterface::bookSubtreeData
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookSubtreeData()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookSubtreeData()
- 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookSubtreeData()
Gets the data representing a subtree of the book hierarchy.
The root of the subtree will be the link passed as a parameter, so the returned tree will contain this item and all its descendants in the menu tree.
Parameters
array $link: A fully loaded book link.
Return value
A subtree of book links in an array, in the order they should be rendered.
1 method overrides BookManagerInterface::bookSubtreeData()
- BookManager::bookSubtreeData in core/
modules/ book/ src/ BookManager.php - Gets the data representing a subtree of the book hierarchy.
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 280
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function bookSubtreeData($link);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.