Skip to content

Commit

Permalink
Update add-scss-variables-via-subscriber.md (#1549)
Browse files Browse the repository at this point in the history
## Moved and changed the `ThemeCompilerEnrichScssVariablesEvent`
We moved the event `ThemeCompilerEnrichScssVariablesEvent` from `\Shopware\Storefront\Event\ThemeCompilerEnrichScssVariablesEvent` to `\Shopware\Storefront\Theme\Event\ThemeCompilerEnrichScssVariablesEvent`.
  • Loading branch information
cramytech authored Nov 11, 2024
1 parent b47271a commit 2560d5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2560d5c

Please sign in to comment.