From 2560d5c70ff1b97776b84eb389838ceb5a4f174f Mon Sep 17 00:00:00 2001 From: Marc <114248940+cramytech@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:50:18 +0100 Subject: [PATCH] Update add-scss-variables-via-subscriber.md (#1549) ## Moved and changed the `ThemeCompilerEnrichScssVariablesEvent` We moved the event `ThemeCompilerEnrichScssVariablesEvent` from `\Shopware\Storefront\Event\ThemeCompilerEnrichScssVariablesEvent` to `\Shopware\Storefront\Theme\Event\ThemeCompilerEnrichScssVariablesEvent`. --- .../plugins/storefront/add-scss-variables-via-subscriber.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/plugins/plugins/storefront/add-scss-variables-via-subscriber.md b/guides/plugins/plugins/storefront/add-scss-variables-via-subscriber.md index 83f59c6f7..541157e21 100644 --- a/guides/plugins/plugins/storefront/add-scss-variables-via-subscriber.md +++ b/guides/plugins/plugins/storefront/add-scss-variables-via-subscriber.md @@ -49,7 +49,7 @@ You can add a new subscriber according to the [Listening to events](../plugin-fu namespace Swag\BasicExample\Subscriber; -use Shopware\Storefront\Event\ThemeCompilerEnrichScssVariablesEvent; +use Shopware\Storefront\Theme\Event\ThemeCompilerEnrichScssVariablesEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class ThemeVariableSubscriber implements EventSubscriberInterface