public function BookRemoveForm::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::__construct()
- 9 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::__construct()
Constructs a BookRemoveForm object.
Parameters
\Drupal\book\BookManagerInterface $book_manager: The book manager.
File
- core/
modules/ book/ src/ Form/ BookRemoveForm.php, line 38
Class
- BookRemoveForm
- Remove form for book module.
Namespace
Drupal\book\FormCode
public function __construct(BookManagerInterface $book_manager) {
$this->bookManager = $book_manager;
}