You are here

public function BookManagerInterface::bookTreeCollectNodeLinks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 138
Contains \Drupal\book\BookManagerInterface.

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

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