BookAdminEditForm::create

public static BookAdminEditForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servic

BookAdminEditForm::$nodeStorage

The node storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/book/src/Form/BookAdminEditForm.php, line 26 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Code protected $nodeStorage;

BookAdminEditForm::bookAdminTable

protected BookAdminEditForm::bookAdminTable(NodeInterface $node, array &$form) Builds the table portion of the form for the book administration page. Parameters \Drupal\node\NodeInterface $node: The node of the top-level page in the book. array $form: The form that is being modified, passed by reference. See also self::buildForm() File core/modules/book/src/Form/BookAdminEditForm.php, line 141 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Name

BookAdminEditForm::$bookManager

The book manager. Type: \Drupal\book\BookManagerInterface File core/modules/book/src/Form/BookAdminEditForm.php, line 33 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Code protected $bookManager;

BookAdminEditForm

Provides a form for administering a single book's hierarchy. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\book\Form\BookAdminEditForm File core/modules/book/src/Form/BookAdminEditForm.php, line 19 Namespace Drupal\book\Form Members Name Modifiers Type Description BookAdmi

book.module

Allows users to create and organize related content in an outline. File core/modules/book/book.module Functions Name Description book_entity_type_build Implements hook_entity_type_build(). book_form_node_confirm_form_alter Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm. book_form_node_form_alter Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm. book_form_update Renders a new parent page select element when the book selecti

book.views.inc

Provide views data for book.module. File core/modules/book/book.views.inc Functions Name Description book_views_data Implements hook_views_data().

book-tree.html.twig

Default theme implementation to display a book tree. Returns HTML for a wrapper for a book sub-tree. Available variables: items: A nested list of book items. Each book item contains: attributes: HTML attributes for the book item. below: The book item child items. title: The book link title. url: The book link URL, instance of \Drupal\Core\Url. is_expanded: TRUE if the link has visible children within the current book tree. is_collapsed: TRUE if the link has children within the current bo

book-node-export-html.html.twig

Default theme implementation for a single node in a printer-friendly outline. Available variables: node: Fully loaded node. depth: Depth of the current node inside the outline. title: Node title. content: Node content. children: All the child nodes recursively rendered through this file. See also template_preprocess_book_node_export_html() File core/modules/book/templates/book-node-export-html.html.twig Related topics Theme system overview Functions and templates for the user interfa

book.install

Install, update and uninstall functions for the book module. File core/modules/book/book.install Functions Name Description book_schema Implements hook_schema(). book_uninstall Implements hook_uninstall().