Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
ae97710
DIgital signature first version
stankut Oct 4, 2024
987b6ac
OS-110 code refactoring, security
stankut Oct 15, 2024
53fb77e
OS-110 upload file for signature
stankut Oct 16, 2024
ff96214
Upload digital document
stankut Oct 16, 2024
3be3b70
OS-110 Signing service: Support for adding an extra page with signing…
stankut Nov 19, 2024
f60bfbc
Merge commit '841076066c102e5236808e7a9c020ca6092bc5cd' into f/OS-110
stankut Dec 9, 2024
d06c862
OS-144 - adding return URL
stankut Dec 9, 2024
92c0ec4
Moved digital post settings into config. Added support for os2web_key…
rimi-itk May 7, 2024
b07e536
Cleaned up Markdown
rimi-itk May 7, 2024
0f6900d
Cleaned up
rimi-itk May 7, 2024
ae2c683
Required os2web_key 1.0
rimi-itk May 13, 2024
801cae9
Updated os2web_datalookup
rimi-itk May 13, 2024
b5fba51
Cleaned up composer.json
rimi-itk Dec 17, 2024
a8dc3c8
Cleaned up
rimi-itk Dec 17, 2024
fea276d
Updated
rimi-itk Dec 20, 2024
5d36f4a
OS-145 adding websubmissions automatic cleaning
stankut Dec 27, 2024
d0cff5e
ITKDEV: Updated fbs handler to use latest endpoints and operations
jekuaitk Jan 2, 2025
1f3a49e
ITKDEV: Adjust indention
jekuaitk Jan 2, 2025
2447c98
ITKDEV: Used configured format in maestro notification
jekuaitk Jan 3, 2025
2308816
Release 3.21.1
jekuaitk Jan 6, 2025
1ff2132
Support for os2web_key in DigitalPost and Fasit
jekuaitk Jan 17, 2025
d566ee0
Service update
jekuaitk Jan 17, 2025
8d831d3
Coding standards
jekuaitk Jan 20, 2025
1820f12
Coding standards
jekuaitk Jan 20, 2025
34ec714
All methods for configuring certificate in fasit module works
jekuaitk Jan 21, 2025
33d0c3b
Applied coding standards
jekuaitk Jan 21, 2025
d5d476b
Updated fasit test command
jekuaitk Jan 21, 2025
8189cdf
Updated Fasit ping command
jekuaitk Jan 22, 2025
fa892f9
Fasit module, cleaned up services
jekuaitk Jan 22, 2025
6f0d1c2
Moved digital post settings into config. Added support for os2web_key…
rimi-itk May 7, 2024
984bb8e
Cleaned up Markdown
rimi-itk May 7, 2024
75d8ad2
Cleaned up
rimi-itk May 7, 2024
d315e88
Required os2web_key 1.0
rimi-itk May 13, 2024
1b0c85d
Updated os2web_datalookup
rimi-itk May 13, 2024
ba5dd00
Cleaned up composer.json
rimi-itk Dec 17, 2024
a32eaae
Cleaned up
rimi-itk Dec 17, 2024
cd3e855
Updated
rimi-itk Dec 20, 2024
7749375
Rebase
jekuaitk Jan 22, 2025
8b3e642
Merge branch 'feature/os2web_key' into feature/os2web_key-hashi-corp-…
jekuaitk Jan 22, 2025
4c60162
Applied coding standards
jekuaitk Jan 22, 2025
1e60744
Merge pull request #2 from itk-dev/feature/os2web_key-hashi-corp-vault
jekuaitk Jan 22, 2025
1964c27
Updated Digital post command
jekuaitk Jan 22, 2025
c58ec55
Coding standards
jekuaitk Jan 22, 2025
0404c5c
Used Autowire trait
jekuaitk Jan 22, 2025
d8c7c2e
Updated digital post module to allow key and old configuration methods
jekuaitk Jan 23, 2025
b0b898d
Service cleanup using autowire
jekuaitk Jan 23, 2025
25f35ce
Updates settings forms
jekuaitk Jan 24, 2025
3bde9cc
Updates settings forms
jekuaitk Jan 24, 2025
e1e38ab
Updates settings forms
jekuaitk Jan 24, 2025
8539452
Update versions requiment
jekuaitk Jan 24, 2025
c6e6cb1
clean up
jekuaitk Jan 24, 2025
d8424d0
Update modules/os2forms_digital_post/src/Helper/CertificateLocatorHel…
jekuaitk Jan 27, 2025
243e1e8
Autowired services
jekuaitk Jan 27, 2025
5e19aa5
Ignored possible UselessOverridingMethod
jekuaitk Jan 27, 2025
c0c053e
Moved autowire to abstract class
jekuaitk Jan 27, 2025
3ffd55b
Merge pull request #3 from itk-dev/feature/os2web_key_digital_post
jekuaitk Jan 28, 2025
8d3b2a7
OS-161 Disabling annotation page by default
stankut Jan 30, 2025
43e5a04
OS-144 Fixing cancel digital signature
stankut Jan 30, 2025
44d0d3a
Specified webform.token_manager service
jekuaitk Feb 7, 2025
2b4a5a1
Merge commit '7ace38332357344358eca1935f43ae2a30c23fa4' into f/OS-110
stankut Feb 17, 2025
0db0714
OS-167 adding Digital signature validation text
stankut Feb 17, 2025
592ddd1
Merge commit 'eecb47a101ea651f749c7f1bce1ea7313ae3cdce' into f/OS-110
stankut Apr 23, 2025
6d6af9f
Adding module description
stankut Apr 23, 2025
1ccb382
Merge branch 'develop' into feature/os2web_key
jekuaitk Apr 24, 2025
6ba43e9
Cleaned up actions and CHANGELOG
jekuaitk Apr 24, 2025
9f1015e
Normalized composer
jekuaitk Apr 25, 2025
fc5fc87
Removed strict from composer validate
jekuaitk Apr 25, 2025
f9f68e4
Added comment on why --strict was removed
jekuaitk Apr 25, 2025
6565068
Merge branch 'feature/code-cleanup' into feature/os2web_key
rimi-itk Apr 29, 2025
b182805
Updated os2web/os2web_datalookup
rimi-itk Apr 29, 2025
dabb887
Enabled os2web_key module
rimi-itk Apr 30, 2025
3d44c34
Cleaned up update hook docblocks
rimi-itk May 13, 2025
1543425
Removed autowiring of services
rimi-itk May 13, 2025
65c2b74
Removed webmozart/path-util
jekuaitk May 26, 2025
2ecaa82
Replaced dependency on os2web_key with proper dependency on key module
rimi-itk May 28, 2025
0d7a456
Merge branch 'develop' into feature/os2web_key
rimi-itk May 28, 2025
266d5de
Updated changelog
rimi-itk May 28, 2025
b7e53b9
OS-110 proper dependency injections
stankut May 30, 2025
51706b5
OS-110 refactoring, removing comment lines
stankut May 30, 2025
9abfcbd
OS-110 phpcs formatting
stankut May 30, 2025
3130081
OS-110 phpcs formatting
stankut May 30, 2025
1599ed0
Merge branch 'develop' into f/OS-110
stankut Jun 2, 2025
9ae977f
OS-110 injecting dependency
stankut Jun 2, 2025
fb058b7
Merge pull request #181 from OS2Forms/release/4.1.0
jekuaitk Jun 3, 2025
b672b58
Merge branch 'develop' into feature/os2web_key
rimi-itk Jun 4, 2025
e01f0c1
OS-110 refactoring
stankut Jun 9, 2025
23fa488
OS-110 refactoring, service injections
stankut Jun 9, 2025
4681c85
OS-110 refactoring, service injections
stankut Jun 9, 2025
2482846
OS-110 refactoring, phpcs
stankut Jun 9, 2025
7346ebc
Merge branch 'develop' into f/OS-110
stankut Jun 9, 2025
41b23a4
Merge branch 'develop' into feature/remove-unused-and-outdated-package
jekuaitk Jun 10, 2025
cfac168
Update CHANGELOG
jekuaitk Jun 10, 2025
8f0a497
Updated CHANGELOG entry with link to PR
jekuaitk Jun 10, 2025
1bb0188
Merge pull request #179 from itk-dev/feature/remove-unused-and-outdat…
jekuaitk Jun 10, 2025
6376a07
Merge branch 'develop' into feature/os2web_key
rimi-itk Jun 10, 2025
1b771fa
Merge pull request #167 from OS2Forms/f/OS-110
stankut Jun 17, 2025
37b041d
Upgraded os2web/os2web_datalookup
rimi-itk Jun 18, 2025
6bce134
Moved os2forms_digital_signature changelog entry
jekuaitk Jun 18, 2025
d6be602
Merge pull request #182 from OS2Forms/feature/move-changelog-entry
jekuaitk Jun 23, 2025
ce88ed2
Merge pull request #101 from itk-dev/feature/os2web_key
rimi-itk Jul 1, 2025
f241de3
Added condition check to Maestro send notification
martinyde Aug 26, 2025
b94b012
Updated changelog
martinyde Aug 26, 2025
2acc5f0
Updated changelog
martinyde Aug 26, 2025
34d667f
Updated changelog
martinyde Aug 26, 2025
db3a495
Create opgavebeskrivelse.md
ChatBotBerg Aug 29, 2025
a057080
Update opgavebeskrivelse.md
ds-bellcom Sep 2, 2025
28cedf1
Update opgavebeskrivelse.md
ds-bellcom Sep 2, 2025
ac45d5b
Merge branch 'develop' into hotfix/add-missing-handler-condition
martinyde Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ before starting to add changes. Use example [placed in the end of the page](#exa

## [Unreleased]

- [PR-215](https://github.com/OS2Forms/os2forms/pull/215)
Added condition to maestro notification submission handler
- [PR-101](https://github.com/OS2Forms/os2forms/pull/101)
- Added support for `os2web_key` in Digital post
- Switched from saving settings in key value store to config, i.e
the module needs to be reconfigured.
- Added support for `os2web_key` in Fasit handler.
- Switched from saving settings in key value store to config, i.e
the module needs to be reconfigured.
- [PR-179](https://github.com/OS2Forms/os2forms/pull/179)
Remove unused and abandoned package `webmozart/path-util`.
- [PR-167](https://github.com/OS2Forms/os2forms/pull/167)
Adding os2forms_digital_signature module

## [4.1.0] 2025-06-03

- [PR-176](https://github.com/OS2Forms/os2forms/pull/176)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
"itk-dev/serviceplatformen": "^1.5",
"mglaman/composer-drupal-lenient": "^1.0",
"os2web/os2web_audit": "^1.0",
"os2web/os2web_datalookup": "^2.0",
"os2web/os2web_datalookup": "^3.0",
"os2web/os2web_key": "^1.0",
"os2web/os2web_nemlogin": "^1.0",
"os2web/os2web_simplesaml": "dev-master",
"php-http/guzzle7-adapter": "^1.0",
"phpoffice/phpword": "^0.18.2",
"symfony/options-resolver": "^5.4 || ^6.0",
"webmozart/path-util": "^2.3",
"wsdltophp/packagebase": "^5.0",
"zaporylie/composer-drupal-optimizations": "^1.2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
os2forms_attachment.print_builder:
class: Drupal\os2forms_attachment\Os2formsAttachmentPrintBuilder
arguments: ['@entity_print.renderer_factory', '@event_dispatcher', '@string_translation']
arguments: ['@entity_print.renderer_factory', '@event_dispatcher', '@string_translation', '@file_system']
52 changes: 40 additions & 12 deletions modules/os2forms_attachment/src/Element/AttachmentElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function getInfo() {
return parent::getInfo() + [
'#view_mode' => 'html',
'#export_type' => 'pdf',
'#digital_signature' => FALSE,
'#template' => '',
];
}
Expand All @@ -28,6 +29,8 @@ public function getInfo() {
* {@inheritdoc}
*/
public static function getFileContent(array $element, WebformSubmissionInterface $webform_submission) {
$submissionUuid = $webform_submission->uuid();

// Override webform settings.
static::overrideWebformSettings($element, $webform_submission);

Expand All @@ -51,18 +54,43 @@ public static function getFileContent(array $element, WebformSubmissionInterface
\Drupal::request()->request->set('_webform_submissions_view_mode', $view_mode);

if ($element['#export_type'] === 'pdf') {
// Get scheme.
$scheme = 'temporary';

// Get filename.
$file_name = 'webform-entity-print-attachment--' . $webform_submission->getWebform()->id() . '-' . $webform_submission->id() . '.pdf';

// Save printable document.
$print_engine = $print_engine_manager->createSelectedInstance($element['#export_type']);
$temporary_file_path = $print_builder->savePrintable([$webform_submission], $print_engine, $scheme, $file_name);
if ($temporary_file_path) {
$contents = file_get_contents($temporary_file_path);
\Drupal::service('file_system')->delete($temporary_file_path);
$file_path = NULL;

// If attachment with digital signatur, check if we already have one.
if (isset($element['#digital_signature']) && $element['#digital_signature']) {
// Get scheme.
$scheme = 'private';

// Get filename.
$file_name = 'webform/' . $webform_submission->getWebform()->id() . '/digital_signature/' . $submissionUuid . '.pdf';
$file_path = "$scheme://$file_name";
}

if (!$file_path || !file_exists($file_path)) {
// Get scheme.
$scheme = 'temporary';
// Get filename.
$file_name = 'webform-entity-print-attachment--' . $webform_submission->getWebform()->id() . '-' . $webform_submission->id() . '.pdf';

// Save printable document.
$print_engine = $print_engine_manager->createSelectedInstance($element['#export_type']);

// Adding digital signature.
if (isset($element['#digital_signature']) && $element['#digital_signature']) {
$file_path = $print_builder->savePrintableDigitalSignature([$webform_submission], $print_engine, $scheme, $file_name);
}
else {
$file_path = $print_builder->savePrintable([$webform_submission], $print_engine, $scheme, $file_name);
}
}

if ($file_path) {
$contents = file_get_contents($file_path);

// Deleting temporary file.
if ($scheme == 'temporary') {
\Drupal::service('file_system')->delete($file_path);
}
}
else {
// Log error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,28 @@
namespace Drupal\os2forms_attachment;

use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\File\FileExists;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\StringTranslation\TranslationInterface;
use Drupal\entity_print\Event\PreSendPrintEvent;
use Drupal\entity_print\Event\PrintEvents;
use Drupal\entity_print\Plugin\PrintEngineInterface;
use Drupal\entity_print\PrintBuilder;
use Drupal\entity_print\Renderer\RendererFactoryInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

/**
* The OS2Forms attachment print builder service.
*/
class Os2formsAttachmentPrintBuilder extends PrintBuilder {

/**
* {@inheritdoc}
*/
public function __construct(RendererFactoryInterface $renderer_factory, EventDispatcherInterface $event_dispatcher, TranslationInterface $string_translation, protected readonly FileSystemInterface $file_system) {
parent::__construct($renderer_factory, $event_dispatcher, $string_translation);
}

/**
* {@inheritdoc}
*/
Expand All @@ -27,10 +41,56 @@ public function printHtml(EntityInterface $entity, $use_default_css = TRUE, $opt
return $renderer->generateHtml([$entity], $render, $use_default_css, $optimize_css);
}

/**
* Modified version of the original savePrintable() function.
*
* The only difference is modified call to prepareRenderer with digitalPost
* flag TRUE.
*
* @see PrintBuilder::savePrintable()
*
* @return string
* FALSE or the URI to the file. E.g. public://my-file.pdf.
*/
public function savePrintableDigitalSignature(array $entities, PrintEngineInterface $print_engine, $scheme = 'public', $filename = FALSE, $use_default_css = TRUE) {
$renderer = $this->prepareRenderer($entities, $print_engine, $use_default_css, TRUE);

// Allow other modules to alter the generated Print object.
$this->dispatcher->dispatch(new PreSendPrintEvent($print_engine, $entities), PrintEvents::PRE_SEND);

// If we didn't have a URI passed in the generate one.
if (!$filename) {
$filename = $renderer->getFilename($entities) . '.' . $print_engine->getExportType()->getFileExtension();
}

$uri = "$scheme://$filename";

// Save the file.
return $this->file_system->saveData($print_engine->getBlob(), $uri, FileExists::Replace);
}

/**
* {@inheritdoc}
*/
protected function prepareRenderer(array $entities, PrintEngineInterface $print_engine, $use_default_css) {

/**
* Override prepareRenderer() the print engine with the passed entities.
*
* @param array $entities
* An array of entities.
* @param \Drupal\entity_print\Plugin\PrintEngineInterface $print_engine
* The print engine.
* @param bool $use_default_css
* TRUE if we want the default CSS included.
* @param bool $digitalSignature
* If the digital signature message needs to be added.
*
* @return \Drupal\entity_print\Renderer\RendererInterface
* A print renderer.
*
* @see PrintBuilder::prepareRenderer
*/
protected function prepareRenderer(array $entities, PrintEngineInterface $print_engine, $use_default_css, $digitalSignature = FALSE) {
if (empty($entities)) {
throw new \InvalidArgumentException('You must pass at least 1 entity');
}
Expand All @@ -50,6 +110,9 @@ protected function prepareRenderer(array $entities, PrintEngineInterface $print_
// structure. That margin is automatically added in PDF and PDF only.
$generatedHtml = (string) $renderer->generateHtml($entities, $render, $use_default_css, TRUE);
$generatedHtml .= "<style>fieldset legend {margin-left: -12px;}</style>";
if ($digitalSignature) {
$generatedHtml .= $this->t('You can validate the signature on this PDF file via validering.nemlog-in.dk.');
}

$print_engine->addPage($generatedHtml);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ protected function defineDefaultProperties() {
'view_mode' => 'html',
'template' => '',
'export_type' => '',
'digital_signature' => '',
'exclude_empty' => '',
'exclude_empty_checkbox' => '',
'excluded_elements' => '',
Expand Down Expand Up @@ -88,6 +89,11 @@ public function form(array $form, FormStateInterface $form_state) {
'html' => $this->t('HTML'),
],
];
$form['attachment']['digital_signature'] = [
'#type' => 'checkbox',
'#title' => $this->t('Digital signature'),
];

// Set #access so that help is always visible.
WebformElementHelper::setPropertyRecursive($form['attachment']['help'], '#access', TRUE);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
namespace Drupal\os2forms_dawa\Plugin\os2web\DataLookup;

use Drupal\Component\Utility\NestedArray;
use Drupal\Core\File\FileSystem;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\key\KeyRepositoryInterface;
use Drupal\os2forms_dawa\Entity\DatafordelerMatrikula;
use Drupal\os2web_audit\Service\Logger;
use Drupal\os2web_datalookup\Plugin\os2web\DataLookup\DataLookupBase;
Expand All @@ -30,20 +32,31 @@ public function __construct(
$plugin_definition,
protected ClientInterface $httpClient,
Logger $auditLogger,
KeyRepositoryInterface $keyRepository,
FileSystem $fileSystem,
) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $auditLogger);
parent::__construct($configuration, $plugin_id, $plugin_definition, $auditLogger, $keyRepository, $fileSystem);
}

/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
/** @var \Drupal\os2web_audit\Service\Logger $auditLogger */
$auditLogger = $container->get('os2web_audit.logger');
/** @var \Drupal\key\KeyRepositoryInterface $keyRepository */
$keyRepository = $container->get('key.repository');
/** @var \Drupal\Core\File\FileSystem $fileSystem */
$fileSystem = $container->get('file_system');

return new static(
$configuration,
$plugin_id,
$plugin_definition,
$container->get('http_client'),
$container->get('os2web_audit.logger'),
$auditLogger,
$keyRepository,
$fileSystem,
);
}

Expand Down
5 changes: 5 additions & 0 deletions modules/os2forms_digital_post/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ examples](modules/os2forms_digital_post_examples/README.md).
Go to `/admin/os2forms_digital_post/settings` to set up global settings for
digital post.

### Key

We use [os2web_key](https://github.com/OS2web/os2web_key) to provide the certificate for sending digital post, and the
key must be of type "[Certificate](https://github.com/os2web/os2web_key?tab=readme-ov-file#certificate)".

### Queue

The actual sending of digital post is handled by jobs in an [Advanced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- 'beskedfordeler:beskedfordeler'
- 'drupal:advancedqueue'
- 'os2web_datalookup:os2web_datalookup'
- 'os2web_key:os2web_key'
- 'webform:webform'
- 'webform:webform_submission_log'
- 'os2web:os2web_audit'
Expand Down
9 changes: 9 additions & 0 deletions modules/os2forms_digital_post/os2forms_digital_post.install
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ use Drupal\os2forms_digital_post\Helper\BeskedfordelerHelper;
function os2forms_digital_post_schema() {
return Drupal::service(BeskedfordelerHelper::class)->schema();
}

/**
* Install OS2Web key module.
*/
function os2forms_digital_post_update_9001(): void {
\Drupal::service('module_installer')->install([
'os2web_key',
], TRUE);
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ services:

Drupal\os2forms_digital_post\Helper\Settings:
arguments:
- "@keyvalue"
- "@config.factory"
- "@key.repository"

Drupal\os2forms_digital_post\Helper\CertificateLocatorHelper:
arguments:
Expand All @@ -30,11 +31,12 @@ services:
Drupal\os2forms_digital_post\Helper\DigitalPostHelper:
arguments:
- "@Drupal\\os2forms_digital_post\\Helper\\Settings"
- "@Drupal\\os2forms_digital_post\\Helper\\CertificateLocatorHelper"
- "@Drupal\\os2web_key\\KeyHelper"
- "@plugin.manager.os2web_datalookup"
- "@Drupal\\os2forms_digital_post\\Helper\\MeMoHelper"
- "@Drupal\\os2forms_digital_post\\Helper\\ForsendelseHelper"
- "@Drupal\\os2forms_digital_post\\Helper\\BeskedfordelerHelper"
- "@Drupal\\os2forms_digital_post\\Helper\\CertificateLocatorHelper"
- "@logger.channel.os2forms_digital_post"
- "@logger.channel.os2forms_digital_post_submission"
- "@os2web_audit.logger"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Test commands for digital post.
*/
class DigitalPostTestCommands extends DrushCommands {
final class DigitalPostTestCommands extends DrushCommands {
use AutowireTrait;

/**
Expand Down Expand Up @@ -151,7 +151,9 @@ private function dumpDigitalPostSettings(SymfonyStyle $io): void {
Yaml::encode([
'testMode' => $this->digitalPostSettings->getTestMode(),
'sender' => $this->digitalPostSettings->getSender(),
'certificate' => $this->digitalPostSettings->getCertificate(),
'certificate' => [
'key' => $this->digitalPostSettings->getKey(),
],
'processing' => $this->digitalPostSettings->getProcessing(),
]),
'',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Drupal\os2forms_digital_post\Helper\BeskedfordelerHelper;
use Drupal\os2forms_digital_post\Helper\WebformHelperSF1601;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\Attribute\Autowire;

/**
* Event subscriber for PostStatusBeskedModtagEvent.
Expand All @@ -23,6 +24,7 @@ public function __construct(
private readonly BeskedfordelerHelper $beskedfordelerHelper,
private readonly MessageHelper $messageHelper,
private readonly WebformHelperSF1601 $webformHelper,
#[Autowire(service: 'logger.channel.os2forms_digital_post')]
LoggerInterface $logger,
) {
parent::__construct($logger);
Expand Down

This file was deleted.

Loading
Loading