ページ · Laravilt
ForceDeleteBulkAction
Permanently delete multiple records
Permanently delete multiple selected records that cannot be recovered.
Basic Usage
php
Default Configuration
- Icon: Trash2
- Color: destructive
- Requires Confirmation: Yes
- Auto-deselects records after completion
- Permanently removes records (forceDelete)
Specify Model
php
Custom Confirmation
php
Requirements
Your model must use the SoftDeletes trait:
php
API Reference
| Method | Parameters | Description |
|---|---|---|
make() | ?string $name | Create action |
model() | string | Set model class |
resource() | string | Set resource class |
deselectRecordsAfterCompletion() | bool | Auto-deselect |
modalHeading() | string | Modal title |
modalDescription() | string | Modal message |