media.folder.delete
Called after a folder is deleted
Example usage:
Event::listen('media.folder.delete', function ((\Backend\Widgets\MediaManager) $mediaWidget, (string) $path) {
\Log::info($path . " was deleted");
});
Or
$mediaWidget->bindEvent('folder.delete', function ((string) $path) {
\Log::info($path . " was deleted");
});
Usage
Triggers
Class or file | Line |
---|---|
Backend\Widgets\MediaManager
|
313 |
Copyright © 2024 Winter CMS