media.folder.create

Triggered in Backend\Widgets\MediaManager.

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");
});