Revert "add template block module setting handler bridge"
This reverts commit e181dddfe042ea91fc083bbc38a34c00a6068d10.
Cette révision appartient à :
Parent
e3577703dd
révision
e07354bec0
@ -1,46 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*
|
|
||||||
* https://www.d3data.de
|
|
||||||
*
|
|
||||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
||||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
||||||
* @link https://www.oxidmodule.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace D3\OxidServiceBridges\Internal\Framework\Module\Setup\Bridge;
|
|
||||||
|
|
||||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration;
|
|
||||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\Handler\TemplateBlockModuleSettingHandler;
|
|
||||||
|
|
||||||
class TemplateBlockModuleSettingHandlerBridge implements TemplateBlockModuleSettingHandlerBridgeInterface
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @var TemplateBlockModuleSettingHandler
|
|
||||||
*/
|
|
||||||
private $templateBlockModuleSettingHandlerService;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param TemplateBlockModuleSettingHandler $templateBlockModuleSettingHandlerService
|
|
||||||
*/
|
|
||||||
public function __construct(TemplateBlockModuleSettingHandler $templateBlockModuleSettingHandlerService)
|
|
||||||
{
|
|
||||||
$this->templateBlockModuleSettingHandlerService = $templateBlockModuleSettingHandlerService;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function handleOnModuleActivation(ModuleConfiguration $configuration, int $shopId)
|
|
||||||
{
|
|
||||||
$this->templateBlockModuleSettingHandlerService->handleOnModuleActivation($configuration, $shopId);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function handleOnModuleDeactivation(ModuleConfiguration $configuration, int $shopId)
|
|
||||||
{
|
|
||||||
$this->templateBlockModuleSettingHandlerService->handleOnModuleDeactivation($configuration, $shopId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*
|
|
||||||
* https://www.d3data.de
|
|
||||||
*
|
|
||||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
||||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
||||||
* @link https://www.oxidmodule.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace D3\OxidServiceBridges\Internal\Framework\Module\Setup\Bridge;
|
|
||||||
|
|
||||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration;
|
|
||||||
|
|
||||||
interface TemplateBlockModuleSettingHandlerBridgeInterface
|
|
||||||
{
|
|
||||||
public function handleOnModuleActivation(ModuleConfiguration $configuration, int $shopId);
|
|
||||||
|
|
||||||
public function handleOnModuleDeactivation(ModuleConfiguration $configuration, int $shopId);
|
|
||||||
}
|
|
||||||
|
|
@ -8,10 +8,3 @@ services:
|
|||||||
|
|
||||||
D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridgeInterface:
|
D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridgeInterface:
|
||||||
class: D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridge
|
class: D3\OxidServiceBridges\Internal\Framework\Module\Path\ModulePathResolverBridge
|
||||||
|
|
||||||
D3\OxidServiceBridges\Internal\Framework\Module\Setup\Bridge\TemplateBlockModuleSettingHandlerBridgeInterface:
|
|
||||||
class: D3\OxidServiceBridges\Internal\Framework\Module\Setup\Bridge\TemplateBlockModuleSettingHandlerBridge
|
|
||||||
public: true
|
|
||||||
arguments:
|
|
||||||
$templateBlockModuleSettingHandlerService: '@oxid_esales.module.setup.template_blocks_module_setting_handler'
|
|
||||||
|
|
||||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur