function BookManagerInterface::getParentDepthLimit

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

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.