BookOutlineForm::actions

protected BookOutlineForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/book/src/Form/BookOutlineForm.php, line 87 Class BookOutlineForm Displays the book outline form. Namespace Drupal\book\Form Code protected function actions(array $form, FormStateInterface $form_state) {

BookOutlineForm::$entity

The book being displayed. Type: \Drupal\node\NodeInterface Overrides EntityForm::$entity File core/modules/book/src/Form/BookOutlineForm.php, line 22 Class BookOutlineForm Displays the book outline form. Namespace Drupal\book\Form Code protected $entity;

BookOutlineForm::$bookManager

BookManager service. Type: \Drupal\book\BookManagerInterface File core/modules/book/src/Form/BookOutlineForm.php, line 29 Class BookOutlineForm Displays the book outline form. Namespace Drupal\book\Form Code protected $bookManager;

BookOutlineForm

Displays the book outline form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\book\Form\BookOutlineForm File core/modules/book/src/Form/Bo

BookOutline::__construct

public BookOutline::__construct(BookManagerInterface $book_manager) Constructs a new BookOutline. Parameters \Drupal\book\BookManagerInterface $book_manager: The book manager. File core/modules/book/src/BookOutline.php, line 23 Class BookOutline Provides handling to render the book outline. Namespace Drupal\book Code public function __construct(BookManagerInterface $book_manager) { $this->bookManager = $book_manager; }

BookOutline::prevLink

public BookOutline::prevLink(array $book_link) Fetches the book link for the previous page of the book. Parameters array $book_link: A fully loaded book link that is part of the book hierarchy. Return value array A fully loaded book link for the page before the one represented in $book_link. File core/modules/book/src/BookOutline.php, line 37 Class BookOutline Provides handling to render the book outline. Namespace Drupal\book Code public function prevLink(array $book_link) { // If

BookOutline::nextLink

public BookOutline::nextLink(array $book_link) Fetches the book link for the next page of the book. Parameters array $book_link: A fully loaded book link that is part of the book hierarchy. Return value array A fully loaded book link for the page after the one represented in $book_link. File core/modules/book/src/BookOutline.php, line 80 Class BookOutline Provides handling to render the book outline. Namespace Drupal\book Code public function nextLink(array $book_link) { // Assigni

BookOutline::childrenLinks

public BookOutline::childrenLinks(array $book_link) Formats the book links for the child pages of the current page. Parameters array $book_link: A fully loaded book link that is part of the book hierarchy. Return value array HTML for the links to the child pages of the current page. File core/modules/book/src/BookOutline.php, line 105 Class BookOutline Provides handling to render the book outline. Namespace Drupal\book Code public function childrenLinks(array $book_link) { $flat =

BookOutline::$bookManager

The book manager. Type: \Drupal\book\BookManagerInterface File core/modules/book/src/BookOutline.php, line 15 Class BookOutline Provides handling to render the book outline. Namespace Drupal\book Code protected $bookManager;

BookOutline

Provides handling to render the book outline. Hierarchy class \Drupal\book\BookOutline File core/modules/book/src/BookOutline.php, line 8 Namespace Drupal\book Members Name Modifiers Type Description BookOutline::$bookManager protected property The book manager. BookOutline::childrenLinks public function Formats the book links for the child pages of the current page. BookOutline::nextLink public function Fetches the book link for the next page of the book