function BookManagerInterface::bookTreeCheckAccess

Same name in other branches
  1. 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCheckAccess()
  2. 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookTreeCheckAccess()
  3. 11.x 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 273

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.