public function BookManagerInterface::bookTreeCollectNodeLinks in Drupal 9
Same name and namespace in other branches
- 8 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCollectNodeLinks()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCollectNodeLinks()
Collects node links from a given menu tree recursively.
Parameters
array $tree: The menu tree you wish to collect node links from.
array $node_links: An array in which to store the collected node links.
1 method overrides BookManagerInterface::bookTreeCollectNodeLinks()
- BookManager::bookTreeCollectNodeLinks in core/
modules/ book/ src/ BookManager.php - Collects node links from a given menu tree recursively.
File
- core/
modules/ book/ src/ BookManagerInterface.php, line 131
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function bookTreeCollectNodeLinks(&$tree, &$node_links);