public function BookOutline::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
- 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\bookCode
public function __construct(BookManagerInterface $book_manager) {
$this->bookManager = $book_manager;
}