public function FlippingBookForm::__construct in Flipping Book 8
Constructs a ContentEntityForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
Overrides ContentEntityForm::__construct
File
- src/
Form/ FlippingBookForm.php, line 70
Class
- FlippingBookForm
- Form controller for Flipping Book edit forms.
Namespace
Drupal\flipping_book\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, TimeInterface $time = NULL, FileSystemInterface $file_system, PluginManagerInterface $pluginManager, FlippingBookInterface $flipping_book) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->fileSystem = $file_system;
$this->archiverManager = $pluginManager;
$this->flippingBook = $flipping_book;
}