function BookOutline::__construct
Same name in other branches
- 9 core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
- 8.9.x core/modules/book/src/BookOutline.php \Drupal\book\BookOutline::__construct()
- 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\bookCode
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.