पेज · Laravilt
ForceDeleteBulkAction
Permanently delete all selected records.
php
Defaults: label "Force delete", icon Trash2, color destructive, confirmation required, clears the selection afterwards. It calls forceDelete() on the selected records, including trashed ones. This can't be undone. The model must use SoftDeletes.
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 |