Components
Media Library
Integrations
Bulk actions
The Media Library allows you to run bulk actions on selected items from the Media Library. By default, the Media Library comes with several bulk actions which you can expand with your own custom bulk actions.
Custom actions
You can provide custom bulk actions using the ->bulkActions() method:
For optimum flexibiity, the provided bulk actions will replace the default set of bulk actions. Therefore, you can reference the pre-built actions already provided for you to build your own custom layout to your liking.
Your bulk actions should also extend the RalphJSmit\Filament\Explore\Filament\Actions\BulkAction class. This class is responsibile for correctly turning the action argument into an injected Collection $files instance for you to use.