diff --git a/modules/os2forms_forloeb/os2forms_forloeb.services.yml b/modules/os2forms_forloeb/os2forms_forloeb.services.yml index 132f3f3b..a9578935 100644 --- a/modules/os2forms_forloeb/os2forms_forloeb.services.yml +++ b/modules/os2forms_forloeb/os2forms_forloeb.services.yml @@ -15,7 +15,7 @@ services: - '@plugin.manager.mail' - '@language_manager' - '@webform.theme_manager' + - '@plugin.manager.entity_print.print_engine' + - '@Drupal\os2forms_digital_post\Helper\DigitalPostHelper' - '@logger.channel.os2forms_forloeb' - '@logger.channel.os2forms_forloeb_submission' - - '@module_handler' - - '@plugin.manager.entity_print.print_engine' diff --git a/modules/os2forms_forloeb/src/MaestroHelper.php b/modules/os2forms_forloeb/src/MaestroHelper.php index 05032c71..2856335e 100644 --- a/modules/os2forms_forloeb/src/MaestroHelper.php +++ b/modules/os2forms_forloeb/src/MaestroHelper.php @@ -77,11 +77,10 @@ public function __construct( private readonly MailManagerInterface $mailManager, private readonly LanguageManagerInterface $languageManager, private readonly WebformThemeManagerInterface $webformThemeManager, - private readonly LoggerChannelInterface $logger, - private readonly LoggerChannelInterface $submissionLogger, private readonly ModuleHandlerInterface $moduleHandler, - private readonly EntityPrintPluginManagerInterface $entityPrintPluginManager, - private readonly DigitalPostHelper $digitalPostHelper + private readonly DigitalPostHelper $digitalPostHelper, + private readonly LoggerChannelInterface $logger, + private readonly LoggerChannelInterface $submissionLogger ) { $this->config = $configFactory->get(SettingsForm::SETTINGS); $this->webformSubmissionStorage = $entityTypeManager->getStorage('webform_submission');