Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 498 Bytes

2022-09-16-add-current-context-to-event-dispatched-on-cart-restore.md

File metadata and controls

10 lines (10 loc) · 498 Bytes
title issue author author_email author_github
Add current SalesChannelContext to the SalesChannelContextRestoredEvent
NEXT-23274
stuzzo
stuzzo

Core

  • Changed the Shopware\Core\System\SalesChannel\Event\SalesChannelContextRestoredEvent to also return the current context in addition to the restored one
  • Deprecated Shopware\Core\System\SalesChannel\Event\SalesChannelContextRestoredEvent::__construct() because the $currentContext parameter will be mandatory