ContentDeleted
Statamic\Events\Data\ContentDeleted
This is a data event that is dispatched when any Page, Entry, Taxonomy Term, or Global is deleted.
public function handle(ContentDeleted $event)
{
// In addition to data event methods, you get:
$event->id; // The ID of the object that was deleted.
}
If you require listening for more a more specific version, an event for the respective content type will also be dispatched:
Statamic\Events\Data\PageDeleted
Statamic\Events\Data\EntryDeleted
Statamic\Events\Data\TermDeleted
Statamic\Events\Data\GlobalsDeleted