public function FillPdfFormForm::__construct in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/Form/FillPdfFormForm.php \Drupal\fillpdf\Form\FillPdfFormForm::__construct()
Constructs a FillPdfFormForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\fillpdf\FillPdfAdminFormHelperInterface $admin_form_helper: FillPdf admin form helper.
\Drupal\fillpdf\FillPdfLinkManipulatorInterface $link_manipulator: FillPdf link manipulator.
\Drupal\fillpdf\InputHelperInterface $input_helper: FillPdf link manipulator.
\Drupal\fillpdf\SerializerInterface $fillpdf_serializer: FillPdf serializer.
\Drupal\Core\File\FileSystemInterface $file_system: Helpers to operate on files and stream wrappers.
\Drupal\Core\Entity\EntityTypeManager $entity_type_manager: The entity repository service.
\Drupal\fillpdf\TokenResolverInterface $token_resolver: The FillPDF token resolver.
Overrides ContentEntityForm::__construct
File
- src/
Form/ FillPdfFormForm.php, line 93
Class
- FillPdfFormForm
- Form controller for the FillPDFForm edit form.
Namespace
Drupal\fillpdf\FormCode
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) {
parent::__construct($entity_repository);
$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;
}