diff --git a/config/services/common.yml b/config/services/common.yml index c3aa7b6c7afde..2d55e057e21c9 100644 --- a/config/services/common.yml +++ b/config/services/common.yml @@ -25,3 +25,8 @@ services: PrestaShopBundle\DependencyInjection\RuntimeConstEnvVarProcessor: public: false tags: ['container.env_var_processor'] + + prestashop.hook.module.filter: + class: PrestaShop\PrestaShop\Core\Hook\HookModuleFilter + arguments: + - !tagged core.hook_module_exec_filter diff --git a/config/services/front/services_prod.yml b/config/services/front/services_prod.yml index c6f4a2f856932..47f7934f6084d 100644 --- a/config/services/front/services_prod.yml +++ b/config/services/front/services_prod.yml @@ -57,8 +57,3 @@ services: class: PrestaShopBundle\Translation\TranslatorLanguageLoader arguments: - '@prestashop.adapter.module.repository.module_repository' - - prestashop.hook.module.filter: - class: PrestaShop\PrestaShop\Core\Hook\HookModuleFilter - arguments: - - !tagged core.hook_module_exec_filter