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