ページ · Laravilt
DeleteAction
Delete a record after confirmation.
php
Defaults: label "Delete", icon Trash2, color destructive, confirmation required. Inside a resource it deletes the record (a soft delete if the model uses SoftDeletes), shows a notification, and redirects to the list page. It's hidden for trashed records and for users without delete permission.
Customizing
php
Custom delete logic
A custom action() replaces the default behavior:
php
Authorization
php
See also RestoreAction, ForceDeleteAction, and DeleteBulkAction.