function BookManagerInterface::bookTreeCollectNodeLinks

Same name in other branches
  1. 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCollectNodeLinks()
  2. 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCollectNodeLinks()
  3. 11.x 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\book

Code

public function bookTreeCollectNodeLinks(&$tree, &$node_links);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.