function BookManagerInterface::getActiveTrailIds
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getActiveTrailIds()
- 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getActiveTrailIds()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getActiveTrailIds()
Gets the active trail IDs for the specified book at the provided path.
Parameters
string $bid: The Book ID to find links for.
array $link: A fully loaded menu link.
Return value
array An array containing the active trail: a list of menu link IDs.
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 49
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function getActiveTrailIds($bid, $link);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.