diff --git a/src/Reader.php b/src/Reader.php index 73bf147..c33df51 100644 --- a/src/Reader.php +++ b/src/Reader.php @@ -134,6 +134,11 @@ public function __construct(array $vars) $this->setTrustedHostPatterns(); $this->setDatabaseConnection(); + + // Version specific settings. + if (version_compare($this->getDrupalVersion(), '10.3.0', '>=')) { + $this->settings['state_cache'] = TRUE; + } } public static function get(array $vars): array