You are here

public function BookOutlineForm::delete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/book/src/Form/BookOutlineForm.php \Drupal\book\Form\BookOutlineForm::delete()

File

core/modules/book/src/Form/BookOutlineForm.php, line 132
Contains \Drupal\book\Form\BookOutlineForm.

Class

BookOutlineForm
Displays the book outline form.

Namespace

Drupal\book\Form

Code

public function delete(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRedirectUrl($this->entity
    ->urlInfo('book-remove-form'));
}