BookRemoveForm::getDescription

public BookRemoveForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides ConfirmFormBase::getDescription File core/modules/book/src/Form/BookRemoveForm.php, line 67 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getDescription() { $title = array('%title' => $this->node->label()); if ($this->node->book['has_children']) { return $this->t('%

BookRemoveForm::getConfirmText

public BookRemoveForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/book/src/Form/BookRemoveForm.php, line 80 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getConfirmText() { return $this->t('Remove'); }

BookRemoveForm::getCancelUrl

public BookRemoveForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/book/src/Form/BookRemoveForm.php, line 94 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getCancelUrl() { return $this->node->urlInfo(); }

BookRemoveForm::$node

The node representing the book. Type: \Drupal\node\NodeInterface File core/modules/book/src/Form/BookRemoveForm.php, line 28 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code protected $node;

BookRemoveForm::create

public static BookRemoveForm::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 service c

BookRemoveForm::$bookManager

The book manager. Type: \Drupal\book\BookManagerInterface File core/modules/book/src/Form/BookRemoveForm.php, line 21 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code protected $bookManager;

BookRemoveForm

Remove form for book module. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\book\Form\BookRemoveForm File core/modules/book/src/Form/BookRemoveForm.php, line 14 Namespace Drupal\book\Form Members Name Modifie

BookOutlineStorageInterface::updateMovedChildren

public BookOutlineStorageInterface::updateMovedChildren($bid, $original, $expressions, $shift) Update the book ID of the book link that it's being moved. Parameters int $bid: The ID of the book whose children we move. array $original: The original parent of the book link. array $expressions: Array of expressions to be added to the query. int $shift: The difference in depth between the old and the new position of the element being moved. Return value mixed The number of rows matched by the upd

BookOutlineStorageInterface::update

public BookOutlineStorageInterface::update($nid, $fields) Updates book reference for links that were moved between books. Parameters int $nid: The nid of the book entry to be updated. array $fields: The array of fields to be updated. Return value mixed The number of rows matched by the update query. File core/modules/book/src/BookOutlineStorageInterface.php, line 125 Class BookOutlineStorageInterface Defines a common interface for book outline storage classes. Namespace Drupal\book C

BookOutlineStorageInterface::getBooks

public BookOutlineStorageInterface::getBooks() Gets books (the highest positioned book links). Return value array An array of book IDs. File core/modules/book/src/BookOutlineStorageInterface.php, line 16 Class BookOutlineStorageInterface Defines a common interface for book outline storage classes. Namespace Drupal\book Code public function getBooks();