adding user-menu.start element
In v2 I had:
which I transferred to v3 as:
just like the notifications:
->renderHook('user-menu.start', static fn (): View => view('main-toolbar-notifications'))
Unfortunately the template is not rendered and the element does not appear as user menu element.
Do you have any idea what was changed in v3 so this stopped working?
2 Replies
RenderHook names were changed to make them more consistent. https://filamentphp.com/docs/3.x/support/render-hooks#available-render-hooks
Thank you. I think that registerHook for the notifications is not even necessary as it's added automatically.