You are here

public function BookOutlineForm::__construct 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::__construct()

Constructs a BookOutlineForm object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\book\BookManagerInterface $book_manager: The BookManager service.

Overrides ContentEntityForm::__construct

File

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

Class

BookOutlineForm
Displays the book outline form.

Namespace

Drupal\book\Form

Code

public function __construct(EntityManagerInterface $entity_manager, BookManagerInterface $book_manager) {
  parent::__construct($entity_manager);
  $this->bookManager = $book_manager;
}