Commit bd0a3633 authored by Coops_'s avatar Coops_ Committed by John.Avery
Browse files

Issue #3195686 by Coops_: Leverage the Key module for authentication keys

parent c903edd0
......@@ -23,14 +23,14 @@ class MarketingCloudSession {
/**
* Marketing Cloud settings.
*
* @var \Drupal\Core\Config\ConfigFactoryInterface
* @var \Drupal\Core\Config\ImmutableConfig
*/
protected $config;
/**
* Drupal state API.
*
* @var \Drupal\Core\Config\ConfigFactoryInterface
* @var \Drupal\Core\State\StateInterface
*/
protected $state;
......@@ -38,7 +38,7 @@ class MarketingCloudSession {
* MarketingCloudSession constructor.
*/
public function __construct() {
$this->config = \Drupal::configFactory()->getEditable('marketing_cloud.settings');
$this->config = \Drupal::configFactory()->get('marketing_cloud.settings');
$this->state = \Drupal::state();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment