BookBreadcrumbBuilder::applies

public BookBreadcrumbBuilder::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/modules/book/src/BookBreadcrumbBuilder.php, line 50 Class BookBreadcrumbBuilder Provides a breadcrumb builde

BookBreadcrumbBuilder::$nodeStorage

The node storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/book/src/BookBreadcrumbBuilder.php, line 25 Class BookBreadcrumbBuilder Provides a breadcrumb builder for nodes in a book. Namespace Drupal\book Code protected $nodeStorage;

BookBreadcrumbBuilder::$account

The current user account. Type: \Drupal\Core\Session\AccountInterface File core/modules/book/src/BookBreadcrumbBuilder.php, line 32 Class BookBreadcrumbBuilder Provides a breadcrumb builder for nodes in a book. Namespace Drupal\book Code protected $account;

BookBreadcrumbBuilder

Provides a breadcrumb builder for nodes in a book. Hierarchy class \Drupal\book\BookBreadcrumbBuilder implements BreadcrumbBuilderInterface uses StringTranslationTrait File core/modules/book/src/BookBreadcrumbBuilder.php, line 17 Namespace Drupal\book Members Name Modifiers Type Description BookBreadcrumbBuilder::$account protected property The current user account. BookBreadcrumbBuilder::$nodeStorage protected property The node storage. BookBreadcrumbBuilder::

BookAdminEditForm::__construct

public BookAdminEditForm::__construct(EntityStorageInterface $node_storage, BookManagerInterface $book_manager) Constructs a new BookAdminEditForm. Parameters \Drupal\Core\Entity\EntityStorageInterface $node_storage: The custom block storage. \Drupal\book\BookManagerInterface $book_manager: The book manager. File core/modules/book/src/Form/BookAdminEditForm.php, line 43 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Code

BookAdminEditForm::validateForm

public BookAdminEditForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/book/src/Form/BookAdminEditForm.php, line 84 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Cod

BookAdminEditForm::submitForm

public BookAdminEditForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/book/src/Form/BookAdminEditForm.php, line 93 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Co

BookAdminEditForm::getFormId

public BookAdminEditForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/book/src/Form/BookAdminEditForm.php, line 62 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Code public function getFormId() { return 'book_admin_edit'; }

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

public BookAdminEditForm::buildForm(array $form, FormStateInterface $form_state, NodeInterface $node = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/book/src/Form/BookAdminEditForm.php, line 69 Class BookAdminEditForm Provides a form for administering a sing