You are here

public function BookManagerInterface::bookTreeCheckAccess in Drupal 9

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

Checks access and performs dynamic operations for each link in the tree.

Parameters

array $tree: The book tree you wish to operate on.

array $node_links: A collection of node link references generated from $tree by menu_tree_collect_node_links().

1 method overrides BookManagerInterface::bookTreeCheckAccess()
BookManager::bookTreeCheckAccess in core/modules/book/src/BookManager.php
Checks access and performs dynamic operations for each link in the tree.

File

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

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function bookTreeCheckAccess(&$tree, $node_links = []);