Skip to content

Commit

Permalink
Fixed dependency injection
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Oct 5, 2023
1 parent 42192c5 commit 14d90c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions modules/os2forms_forloeb/os2forms_forloeb.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
8 changes: 3 additions & 5 deletions modules/os2forms_forloeb/src/MaestroHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Drupal\Core\Config\ImmutableConfig;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Logger\LoggerChannelInterface;
use Drupal\Core\Mail\MailManagerInterface;
Expand Down Expand Up @@ -77,11 +76,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');
Expand Down

0 comments on commit 14d90c2

Please sign in to comment.