You are here

public function FlippingBook::__construct in Flipping Book 8

FlippingBook constructor.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: A File System service instance.

\Drupal\Core\Archiver\ArchiverManager $plugin_manager_archiver: An Archiver Manager service instance.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager service instance.

File

src/FlippingBook.php, line 50

Class

FlippingBook
Class FlippingBook.

Namespace

Drupal\flipping_book

Code

public function __construct(FileSystemInterface $file_system, ArchiverManager $plugin_manager_archiver, EntityTypeManagerInterface $entity_type_manager) {
  $this->fileSystem = $file_system;
  $this->pluginManagerArchiver = $plugin_manager_archiver;
  $this->entityTypeManager = $entity_type_manager;
}