This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Shopping list events¶
| Event | Dispatched by | Description |
|---|---|---|
BeforeCreateShoppingListEvent |
ShoppingListService::createShoppingList() |
Dispatched before a shopping list is created. Allows to modify or prevent creation. |
CreateShoppingListEvent |
ShoppingListService::createShoppingList() |
Dispatched after a shopping list is created. |
BeforeUpdateShoppingListEvent |
ShoppingListService::updateShoppingList() |
Dispatched before a shopping list is updated. Allows to modify or prevent update. |
UpdateShoppingListEvent |
ShoppingListService::updateShoppingList() |
Dispatched after a shopping list is updated. |
BeforeDeleteShoppingListEvent |
ShoppingListService::deleteShoppingList() |
Dispatched before a shopping list is deleted. Allows to prevent deletion. |
DeleteShoppingListEvent |
ShoppingListService::deleteShoppingList() |
Dispatched after a shopping list is deleted. |
BeforeClearShoppingListEvent |
ShoppingListService::clearShoppingList() |
Dispatched before a shopping list is cleared. Allows to modify or prevent clearing. |
ClearShoppingListEvent |
ShoppingListService::clearShoppingList() |
Dispatched after a shopping list is cleared. |
BeforeAddEntriesEvent |
ShoppingListService::addEntries() |
Dispatched before entries are added to a shopping list. Allows to modify or prevent addition. |
AddEntriesEvent |
ShoppingListService::addEntries() |
Dispatched after entries are added to a shopping list. |
BeforeRemoveEntriesEvent |
ShoppingListService::removeEntries() |
Dispatched before entries are removed from a shopping list. Allows to modify or prevent removal. |
RemoveEntriesEvent |
ShoppingListService::removeEntries() |
Dispatched after entries are removed from a shopping list. |