Skip to content

Commit 3eaaa42

Browse files
committed
Add missing logger
1 parent c45661a commit 3eaaa42

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Drupal\Core\Form\FormStateInterface;
77
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
88
use Drupal\os2forms_dawa\Entity\DatafordelerMatrikula;
9+
use Drupal\os2web_audit\Service\Logger;
910
use Drupal\os2web_datalookup\Plugin\os2web\DataLookup\DataLookupBase;
1011
use GuzzleHttp\ClientInterface;
1112
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -30,9 +31,15 @@ class DatafordelerDataLookup extends DataLookupBase implements DatafordelerDataL
3031
/**
3132
* {@inheritdoc}
3233
*/
33-
public function __construct(array $configuration, $plugin_id, $plugin_definition, ClientInterface $httpClient) {
34+
public function __construct(
35+
array $configuration,
36+
$plugin_id,
37+
$plugin_definition,
38+
ClientInterface $httpClient,
39+
Logger $auditLogger,
40+
) {
3441
$this->httpClient = $httpClient;
35-
parent::__construct($configuration, $plugin_id, $plugin_definition);
42+
parent::__construct($configuration, $plugin_id, $plugin_definition, $auditLogger);
3643
}
3744

3845
/**

0 commit comments

Comments
 (0)