function BookRemoveForm::buildForm

Same name in other branches
  1. 9 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::buildForm()
  2. 8.9.x core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::buildForm()
  3. 11.x core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::buildForm()

Overrides ConfirmFormBase::buildForm

File

core/modules/book/src/Form/BookRemoveForm.php, line 61

Class

BookRemoveForm
Remove form for book module.

Namespace

Drupal\book\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, ?NodeInterface $node = NULL) {
    $this->node = $node;
    return parent::buildForm($form, $form_state);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.