function BookManagerInterface::loadBookLinks
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::loadBookLinks()
- 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::loadBookLinks()
- 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::loadBookLinks()
Loads multiple book entries.
The entries of a book entry is documented in \Drupal\book\BookOutlineStorageInterface::loadMultiple.
If $translate is TRUE, it also checks access ('access' key) and loads the title from the node itself.
Parameters
int[] $nids: An array of nids to load.
bool $translate: If TRUE, set access, title, and other elements.
Return value
array[] The book data of each node keyed by NID.
See also
\Drupal\book\BookOutlineStorageInterface::loadMultiple
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 91
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function loadBookLinks($nids, $translate = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.