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