media.file.delete

Triggered in Backend\Widgets\MediaManager.

Called after a file is deleted

Example usage:

Event::listen('media.file.delete', function((\Backend\Widgets\MediaManager) $mediaWidget, (string) $path) {
    \Log::info($path . " was deleted");
});

Or

$mediaWidget->bindEvent('file.delete', function ((string) $path) {
    \Log::info($path . " was deleted");
});