function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.