public function BookManagerInterface::getActiveTrailIds in Drupal 9
Same name and namespace in other branches
- 8 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);