therouv
therouv
FFilament
Created by therouv on 3/22/2024 in #❓┊help
Current Record in Render Hook
Hey! I want to use the Render Hook PanelsRenderHook::BODY_START and render custom view depending on the current record. I specified the scope, so that it is only displayed on a specific resource page but struggle to get the current resource record in my new view in order to display the necessary information. Does anyone know how the get or inject the current record in a render hook?
3 replies