function BookManagerInterface::getParentDepthLimit

Finds the depth limit for items in the parent select.

Parameters

array $book_link: A fully loaded menu link that is part of the book hierarchy.

Return value

int The depth limit for items in the parent select.

2 methods override BookManagerInterface::getParentDepthLimit()
BookManager::getParentDepthLimit in core/modules/book/src/BookManager.php
Finds the depth limit for items in the parent select.
BookManager::getParentDepthLimit in core/modules/book/src/ProxyClass/BookManager.php
Finds the depth limit for items in the parent select.

File

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

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function getParentDepthLimit(array $book_link);

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