Get record ID after delete

can i get the deleted record id in ->after(function () { // ... })
Solution:
Yes, pass Model $record inside function and get $record->id
Jump to solution
2 Replies
Solution
Vp
Vp7mo ago
Yes, pass Model $record inside function and get $record->id
Adnan Yalahow
Adnan YalahowOP7mo ago
Thank you

Did you find this page helpful?