diff --git a/soe_profile.services.yml b/soe_profile.services.yml index ebad9082..2f8b5992 100644 --- a/soe_profile.services.yml +++ b/soe_profile.services.yml @@ -4,7 +4,7 @@ services: parent: default_plugin_manager soe_profile.event_subscriber: class: '\Drupal\soe_profile\EventSubscriber\EventSubscriber' - arguments: ['@file_system', '@logger.factory', '@messenger'] + arguments: ['@file_system', '@http_client', '@logger.factory', '@messenger'] tags: - { name: 'event_subscriber' } soe_profile.config_overrider: diff --git a/src/Config/ConfigOverrides.php b/src/Config/ConfigOverrides.php index 0c5d6018..3407366e 100644 --- a/src/Config/ConfigOverrides.php +++ b/src/Config/ConfigOverrides.php @@ -188,7 +188,7 @@ public function createConfigObject($name, $collection = StorageInterface::DEFAUL * {@inheritDoc} */ public function getCacheSuffix() { - return 'SoeProfileConfigOverride'; + return 'StanfordProfileConfigOverride'; } /** diff --git a/src/EventSubscriber/EventSubscriber.php b/src/EventSubscriber/EventSubscriber.php index 3fe996ba..ca178ad3 100644 --- a/src/EventSubscriber/EventSubscriber.php +++ b/src/EventSubscriber/EventSubscriber.php @@ -81,7 +81,7 @@ public static function getSubscribedEvents() { * @param \Drupal\Core\Messenger\MessengerInterface $messenger * Messenger service. */ - public function __construct(protected FileSystemInterface $fileSystem, LoggerChannelFactoryInterface $logger_factory, protected MessengerInterface $messenger) { + public function __construct(protected FileSystemInterface $fileSystem, protected ClientInterface $client, LoggerChannelFactoryInterface $logger_factory, protected MessengerInterface $messenger) { $this->logger = $logger_factory->get('soe_profile'); }