BookManagerInterface::bookSubtreeData

public BookManagerInterface::bookSubtreeData($link)

Gets the data representing a subtree of the book hierarchy.

The root of the subtree will be the link passed as a parameter, so the returned tree will contain this item and all its descendants in the menu tree.

Parameters

array $link: A fully loaded book link.

Return value

A subtree of book links in an array, in the order they should be rendered.

File

core/modules/book/src/BookManagerInterface.php, line 280

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function bookSubtreeData($link);
doc_Drupal
2016-10-29 08:48:14
Comments
Leave a Comment

Please login to continue.