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::bookLinkTranslate

public BookManager::bookLinkTranslate(&$link) Provides book loading, access control and translation. Note: copied from _menu_link_translate() in menu.inc, but reduced to the minimal code that's used. Parameters array $link: A book link. Overrides BookManagerInterface::bookLinkTranslate File core/modules/book/src/BookManager.php, line 980 Class BookManager Defines a book manager. Namespace Drupal\book Code public function bookLinkTranslate(&$link) { $node = NULL; // Access

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::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::$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::$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::$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::$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::$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::$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;