function BookManager::loadBookLink
Same name in other branches
- 9 core/modules/book/src/BookManager.php \Drupal\book\BookManager::loadBookLink()
- 10 core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::loadBookLink()
- 10 core/modules/book/src/BookManager.php \Drupal\book\BookManager::loadBookLink()
- 11.x core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::loadBookLink()
- 11.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::loadBookLink()
Overrides BookManagerInterface::loadBookLink
3 calls to BookManager::loadBookLink()
- BookManager::deleteFromBook in core/
modules/ book/ src/ BookManager.php - Deletes node's entry from book table.
- BookManager::saveBookLink in core/
modules/ book/ src/ BookManager.php - Saves a single book entry.
- BookManager::updateOutline in core/
modules/ book/ src/ BookManager.php - Handles additions and updates to the book outline.
File
-
core/
modules/ book/ src/ BookManager.php, line 768
Class
- BookManager
- Defines a book manager.
Namespace
Drupal\bookCode
public function loadBookLink($nid, $translate = TRUE) {
$links = $this->loadBookLinks([
$nid,
], $translate);
return isset($links[$nid]) ? $links[$nid] : FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.