BookOutlineStorageInterface::loadMultiple

public BookOutlineStorageInterface::loadMultiple($nids, $access = TRUE)

Loads books.

Each book entry consists of the following keys:

  • bid: The node ID of the main book.
  • nid: The node ID of the book entry itself.
  • pid: The parent node ID of the book.
  • has_children: A boolean to indicate whether the book has children.
  • weight: The weight of the book entry to order siblings.
  • depth: The depth in the menu hierarchy the entry is placed into.

Parameters

array $nids: An array of node IDs.

bool $access: Whether access checking should be taken into account.

Return value

array Array of loaded book items.

File

core/modules/book/src/BookOutlineStorageInterface.php, line 45

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function loadMultiple($nids, $access = TRUE);
doc_Drupal
2016-10-29 08:48:27
Comments
Leave a Comment

Please login to continue.