function BookOutline::__construct

Same name in other branches
  1. 8.9.x core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
  2. 10 core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.