function BookManagerInterface::getActiveTrailIds
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getActiveTrailIds()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getActiveTrailIds()
- 11.x 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 mlids.
1 method overrides BookManagerInterface::getActiveTrailIds()
- BookManager::getActiveTrailIds in core/
modules/ book/ src/ BookManager.php - Gets the active trail IDs for the specified book at the provided path.
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.