You are here

public function BookOutline::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
  2. 10 core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()

Constructs a new BookOutline.

Parameters

\Drupal\book\BookManagerInterface $book_manager: The book manager.

File

core/modules/book/src/BookOutline.php, line 23

Class

BookOutline
Provides handling to render the book outline.

Namespace

Drupal\book

Code

public function __construct(BookManagerInterface $book_manager) {
  $this->bookManager = $book_manager;
}