You are here

public function BookManagerInterface::bookSubtreeData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookSubtreeData()

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.

1 method overrides BookManagerInterface::bookSubtreeData()
BookManager::bookSubtreeData in core/modules/book/src/BookManager.php
Gets the data representing a subtree of the book hierarchy.

File

core/modules/book/src/BookManagerInterface.php, line 286
Contains \Drupal\book\BookManagerInterface.

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function bookSubtreeData($link);