You are here

public function BookManagerInterface::getParentDepthLimit in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 128
Contains \Drupal\book\BookManagerInterface.

Class

BookManagerInterface
Provides an interface defining a book manager.

Namespace

Drupal\book

Code

public function getParentDepthLimit(array $book_link);