You are here

public function BookManager::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()

Constructs a BookManager object.

File

core/modules/book/src/BookManager.php, line 78
Contains \Drupal\book\BookManager.

Class

BookManager
Defines a book manager.

Namespace

Drupal\book

Code

public function __construct(EntityManagerInterface $entity_manager, TranslationInterface $translation, ConfigFactoryInterface $config_factory, BookOutlineStorageInterface $book_outline_storage, RendererInterface $renderer) {
  $this->entityManager = $entity_manager;
  $this->stringTranslation = $translation;
  $this->configFactory = $config_factory;
  $this->bookOutlineStorage = $book_outline_storage;
  $this->renderer = $renderer;
}