mutateFormDataBeforeFill alternative for infolist.

I want to edit some data before I display it using the new infolists, however mutateFormDataBeforeFill doesn't work, and I can't seem to find any alternative.
4 Replies
Pete Foresttree
Pete ForesttreeOP16mo ago
bump
Pete Foresttree
Pete ForesttreeOP16mo ago
Thanks a lot, I don't know how I missed that 😅 One more question, I can't seem to figure out how to access the current record model in there...
awcodes
awcodes16mo ago
From that example you would use this->product and change its data before the return then you can pass the manipulated data into the info list methods. It’s still just php. 🙂
Want results from more Discord servers?
Add your server