Configure Delete Modal globally / Add delete lifecycle hooks
Hey!
1. I would like to know whether it's possible to configure the delete modal of all delete actions of a component (delete action in table, delete bulk action in table, delete action on edit page) at once?
I need to display the same custom text in the modal in each action.
2. I'd like to know whether the same is possible for the after delete lifecycle hook. I want to delete all associated records of a different model. I cannot use a Laravel Observer as the delete cascading should only occur on this resource.
Thanks for your help!

1 Reply
1. Just update the language string?
2. You could use the ->after() to the method. or just use ->action() and change the delete method.