You are here

public function BookManagerInterface::bookTreeCollectNodeLinks in Drupal 8

Same name and namespace 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()

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);