Problems with getNavigationItems
Hi - I am trying to setup my custom navigation following the docs (https://filamentphp.com/docs/2.x/admin/navigation#advanced-navigation-customization). My code looks like this:
This works so far that I get the dashboard, but the others just seem to return nothing. Am I doing something wrong here (or missing something)? When I run the regular navigation-builder everything works fine tho...
4 Replies
...ArticleResource::getNavigationItems()
You forgot ...
what do those? I always read them as "etc." π
@husky110 search "PHP array unpacking"
ah okay - thank you! π