You are here

public function BookManagerInterface::getParentDepthLimit in Drupal 8

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

1 method overrides BookManagerInterface::getParentDepthLimit()
BookManager::getParentDepthLimit in core/modules/book/src/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);