Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 470 Bytes

events.md

File metadata and controls

6 lines (4 loc) · 470 Bytes

Events

  • An event must always implement the \Shopware\Core\Framework\Event\ShopwareEvent interface.
  • Events thrown in the context of a sales channel must always implement the interfaces ShopwareSalesChannelEvent and Shopware\Core\Framework\Event\SalesChannelAware.
  • Events are mostly used to allow developers to load more data. They should, as a rule, not interfere with the program flow. The decoration pattern is intended for influencing the program flow.