Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.09 KB

trash_events.md

File metadata and controls

19 lines (16 loc) · 1.09 KB
description page_type
Events that are triggered when working with Trash.
reference

Trash events

The following events are dispatched when managing Trash.

Event Dispatched by Properties
BeforeDeleteTrashItemEvent TrashService::deleteTrashItem TrashItem $trashItem
`TrashItemDeleteResult
DeleteTrashItemEvent TrashService::deleteTrashItem TrashItem $trashItem
TrashItemDeleteResult $result
BeforeEmptyTrashEvent TrashService::emptyTrash `TrashItemDeleteResultList
EmptyTrashEvent TrashService::emptyTrash TrashItemDeleteResultList $resultList
BeforeRecoverEvent TrashService::recover TrashItem $trashItem
Location $newParentLocation
`Location
RecoverEvent TrashService::recover TrashItem $trashItem
Location $newParentLocation
Location $location
BeforeTrashEvent TrashService::trash Location $location
`TrashItem
TrashEvent TrashService::trash Location $location
`TrashItem