Skip to content
Snippets Groups Projects
Commit c93385e5 authored by Bernd Oliver Suenderhauf's avatar Bernd Oliver Suenderhauf
Browse files

Issue #3040235 by Pancho, wizonesolutions: Remove BC code on FillPdfFormForm

parent 182acd2a
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ class FillPdfFormForm extends ContentEntityForm {
InputHelperInterface $input_helper,
SerializerInterface $fillpdf_serializer,
FileSystemInterface $file_system,
EntityTypeManager $entity_type_manager = NULL
EntityTypeManager $entity_type_manager
) {
parent::__construct(
$entity_repository
......@@ -92,12 +92,7 @@ class FillPdfFormForm extends ContentEntityForm {
$this->inputHelper = $input_helper;
$this->serializer = $fillpdf_serializer;
$this->fileSystem = $file_system;
if (empty($entity_type_manager)) {
@trigger_error('Not passing the entity_type.manager service to ContentEntityForm::__construct() is deprecated in FillPdf 8.x-4.8 and will be required before FillPdf 8.x-5.0.', E_USER_DEPRECATED);
$entity_type_manager = $this->container()->get('entity_type.manager');
}
$this->setEntityTypeManager($entity_type_manager);
$this->entityTypeManager = $entity_type_manager;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment