Deprecate strategies via addons

This commit is contained in:
Art4 2025-02-07 15:06:11 +00:00
parent e5416ca4a9
commit 1ea2df569e
2 changed files with 11 additions and 2 deletions

View file

@ -81,6 +81,9 @@ class StrategiesFileManager
throw new HookConfigException(sprintf('Error loading config file %s.', $configFile));
}
/**
* @deprecated 2025.02 Providing strategies via addons is deprecated and will be removed in 5 months.
*/
$this->config = array_merge_recursive($config, $this->addonLoader->getActiveAddonConfig(static::CONFIG_NAME));
}
}