BookOutlineForm::__construct

public BookOutlineForm::__construct(EntityManagerInterface $entity_manager, BookManagerInterface $book_manager)

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 39

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;
}
doc_Drupal
2016-10-29 08:48:23
Comments
Leave a Comment

Please login to continue.