Pass current record attributes to custom view.
I want to pass some record data to a custom view of my action.
Something like this:
Is is possible? any help is appreciated.
2 Replies
->viewData([ ... ])
or I think you can get the record from your view directly with $getRecord()
getRecord works. Thanks alot !