You are here

public function FillPdfFormForm::__construct in FillPDF 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Form/FillPdfFormForm.php \Drupal\fillpdf\Form\FillPdfFormForm::__construct()

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/FillPdfFormForm.php, line 78

Class

FillPdfFormForm
Form controller for the FillPDFForm edit form.

Namespace

Drupal\fillpdf\Form

Code

public function __construct(EntityRepositoryInterface $entity_repository, FillPdfAdminFormHelperInterface $admin_form_helper, FillPdfLinkManipulatorInterface $link_manipulator, InputHelperInterface $input_helper, SerializerInterface $fillpdf_serializer, FileSystemInterface $file_system, EntityTypeManager $entity_type_manager, TokenResolverInterface $token_resolver, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time) {
  parent::__construct($entity_repository, $entity_type_bundle_info, $time);
  $this->adminFormHelper = $admin_form_helper;
  $this->linkManipulator = $link_manipulator;
  $this->inputHelper = $input_helper;
  $this->serializer = $fillpdf_serializer;
  $this->fileSystem = $file_system;
  $this->entityTypeManager = $entity_type_manager;
  $this->tokenResolver = $token_resolver;
}