From 2a7f972b583c3410c905908683c8c8869a812231 Mon Sep 17 00:00:00 2001 From: bb Date: Mon, 20 Jul 2026 13:08:26 +0300 Subject: [PATCH] 15761-hyva-live-editor-compatibility --- Model/Config.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Model/Config.php b/Model/Config.php index c6b4896..1df8282 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -15,6 +15,7 @@ use Magento\Store\Model\StoreManagerInterface; use Magento\Framework\Encryption\EncryptorInterface; use Magento\Framework\Filesystem\DirectoryList; +use Magento\Framework\Module\Manager as ModuleManager; class Config implements ConfigInterface { @@ -73,6 +74,11 @@ class Config implements ConfigInterface */ protected $directoryList; + /** + * @var ModuleManager + */ + protected $moduleManager; + /** * @param ScopeConfigInterface $scopeConfig * @param StoreManagerInterface $storeManager @@ -80,6 +86,8 @@ class Config implements ConfigInterface * @param ConfigCollectionFactory $configCollectionFactory * @param DateTime $dateTime * @param EncryptorInterface $encryptor + * @param DirectoryList $directoryList + * @param ModuleManager $moduleManager */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -88,7 +96,8 @@ public function __construct( ConfigCollectionFactory $configCollectionFactory, DateTime $dateTime, EncryptorInterface $encryptor, - DirectoryList $directoryList + DirectoryList $directoryList, + ModuleManager $moduleManager ) { $this->scopeConfig = $scopeConfig; $this->storeManager = $storeManager; @@ -97,6 +106,7 @@ public function __construct( $this->dateTime = $dateTime; $this->encryptor = $encryptor; $this->directoryList = $directoryList; + $this->moduleManager = $moduleManager; } /**