© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Fossil

Custom delete logic?

My app requires some files on disk to be delete when a model is deleted. I have a function in the model that handles this plus the row deletion in DB itself.

Any way I could make the delete and bulk delete functions in Filament call this code instead of just removing the record from the DB?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom logic after import completed
FilamentFFilament / ❓┊help
2y ago
custom query before delete
FilamentFFilament / ❓┊help
3y ago
Replicate action with custom after logic
FilamentFFilament / ❓┊help
4mo ago
Multiple select options allow custom logic
FilamentFFilament / ❓┊help
3y ago