trait CanDeleteRecords (View source)

deprecated You may add a `DeleteAction` to the resource table.

Methods

bool
hasDeleteAction() deprecated

No description

getDeleteAction() deprecated

No description

void
delete() deprecated

No description

string|null
getDeletedNotificationMessage() deprecated

No description

void
handleRecordDeletion(Model $record) deprecated

No description

Details

protected bool hasDeleteAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

protected Action getDeleteAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

void delete() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getDeletedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

protected void handleRecordDeletion(Model $record) deprecated

deprecated Use `->using()` on the action instead.

No description

Parameters

Model $record

Return Value

void