public function BookManager::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()
- 10 core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()
Constructs a BookManager object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationInterface $translation: The string translation service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\book\BookOutlineStorageInterface $book_outline_storage: The book outline storage.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/
modules/ book/ src/ BookManager.php, line 91
Class
- BookManager
- Defines a book manager.
Namespace
Drupal\bookCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $translation, ConfigFactoryInterface $config_factory, BookOutlineStorageInterface $book_outline_storage, RendererInterface $renderer) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $translation;
$this->configFactory = $config_factory;
$this->bookOutlineStorage = $book_outline_storage;
$this->renderer = $renderer;
}