media.folder.create

Triggered in Media\Widgets\MediaManager.

Called after a folder is created

Example usage:

Event::listen('media.folder.create', function ((\Media\Widgets\MediaManager) $mediaWidget, (string) $newFolderPath) {
    \Log::info($newFolderPath . " was created");
});

Or

$mediaWidget->bindEvent('folder.create', function ((string) $newFolderPath) {
    \Log::info($newFolderPath . " was created");
});