function BookRemoveForm::create

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

Overrides FormBase::create

File

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

Class

BookRemoveForm
Remove form for book module.

Namespace

Drupal\book\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('book.manager'));
}

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