function BookManager::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.
Overrides BookManagerInterface::bookTreeCollectNodeLinks
File
-
core/
modules/ book/ src/ ProxyClass/ BookManager.php, line 171
Class
- BookManager
- Provides a proxy class for \Drupal\book\BookManager.
Namespace
Drupal\book\ProxyClassCode
public function bookTreeCollectNodeLinks(&$tree, &$node_links) {
return $this->lazyLoadItself()
->bookTreeCollectNodeLinks($tree, $node_links);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.