trait CanEditRecords (View source)

Methods

void
fillEditForm() deprecated

No description

array
mutateFormDataBeforeFill(array $data) deprecated

No description

void
save() deprecated

No description

string|null
getSavedNotificationMessage() deprecated

No description

Model
handleRecordUpdate(Model $record, array $data) deprecated

No description

array
mutateFormDataBeforeSave(array $data) deprecated

No description

getEditAction() deprecated

No description

Details

protected void fillEditForm() deprecated

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

No description

Return Value

void

protected array mutateFormDataBeforeFill(array $data) deprecated

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

No description

Parameters

array $data

Return Value

array

void save() deprecated

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

No description

Return Value

void

protected string|null getSavedNotificationMessage() deprecated

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

No description

Return Value

string|null

protected Model handleRecordUpdate(Model $record, array $data) deprecated

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

No description

Parameters

Model $record
array $data

Return Value

Model

protected array mutateFormDataBeforeSave(array $data) deprecated

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

No description

Parameters

array $data

Return Value

array

protected Action getEditAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action