Страницы · Laravilt
RestoreBulkAction
Restore all selected soft-deleted records.
php
Defaults: label "Restore", icon RotateCcw, color success, confirmation required, clears the selection afterwards. The model must use SoftDeletes. Pair it with a TrashedFilter.
Customizing
php
API reference
| Method | Description |
|---|---|
model(string) | Model class |
resource(string) | Resource class (for permission checks) |
deselectRecordsAfterCompletion(bool) | Clear the selection (default true) |
modalHeading(), modalDescription() | Confirmation text |