You are here

public function BookOutline::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}