diff --git a/core/lib/Drupal/Core/Config/Context/GlobalContext.php b/core/lib/Drupal/Core/Config/Context/GlobalContext.php index d7b1915..a555231 100644 --- a/core/lib/Drupal/Core/Config/Context/GlobalContext.php +++ b/core/lib/Drupal/Core/Config/Context/GlobalContext.php @@ -24,8 +24,8 @@ class GlobalContext extends ConfigContext { */ public function __construct(StorageInterface $storage, EventDispatcher $event_dispatcher) { global $conf; - // Set config overrides by reference so they can be added later. - $this->data[self::OVERRIDE] = &$conf; + + $this->data[self::OVERRIDE] = $conf; parent::__construct($storage, $event_dispatcher); }