BookManager::bookTreeCollectNodeLinks

public BookManager::bookTreeCollectNodeLinks(&$tree, &$node_links) Collects node links from a given menu tree recursively. Parameters array $tree: The menu tree you wish to collect node links from. array $node_links: An array in which to store the collected node links. Overrides BookManagerInterface::bookTreeCollectNodeLinks File core/modules/book/src/BookManager.php, line 688 Class BookManager Defines a book manager. Namespace Drupal\book Code public function bookTreeCollectN

BookManager::addParentSelectFormElements

protected BookManager::addParentSelectFormElements(array $book_link) Builds the parent selection form element for the node form or outline tab. This function is also called when generating a new set of options during the Ajax callback, so an array is returned that can be used to replace an existing form element. Parameters array $book_link: A fully loaded book link that is part of the book hierarchy. Return value array A parent selection form element. File core/modules/book/src/BookManager.ph

BookManager::bookSubtreeData

public BookManager::bookSubtreeData($link) Gets the data representing a subtree of the book hierarchy. The root of the subtree will be the link passed as a parameter, so the returned tree will contain this item and all its descendants in the menu tree. Parameters array $link: A fully loaded book link. Return value A subtree of book links in an array, in the order they should be rendered. Overrides BookManagerInterface::bookSubtreeData File core/modules/book/src/BookManager.php, line 1082 C

BookManager::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/book/src/BookManager.php, line 68 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $renderer;

BookManager::$bookTreeFlattened

Stores flattened book trees. Type: array File core/modules/book/src/BookManager.php, line 61 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $bookTreeFlattened;

BookManager::addFormElements

public BookManager::addFormElements(array $form, FormStateInterface $form_state, NodeInterface $node, AccountInterface $account, $collapsed = TRUE) Builds the common elements of the book form for the node and outline forms. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\node\NodeInterface $node: The node whose form is being viewed. \Drupal\Core\Session\AccountInterface $

BookManager::$configFactory

Config Factory Service Object. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/book/src/BookManager.php, line 40 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $configFactory;

BookManager::$books

Books Array. Type: array File core/modules/book/src/BookManager.php, line 47 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $books;

BookManager::$entityManager

Entity manager Service Object. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/book/src/BookManager.php, line 33 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $entityManager;

BookManager::$bookOutlineStorage

Book outline storage. Type: \Drupal\book\BookOutlineStorageInterface File core/modules/book/src/BookManager.php, line 54 Class BookManager Defines a book manager. Namespace Drupal\book Code protected $bookOutlineStorage;