Tricks

Set Plugin Resources' Nav Options

Sep 26, 2022
Z3d0X
Admin panel

Some Filament Plugins may register their own Resources. However often times you might want to customize it's navigation.

Filament Resources have these static methods:

PluginResource::navigationGroup('My Group')
PluginResource::navigationIcon('heroicon-o-cube')
PluginResource::navigationSort(2)

You can place them in the boot() method of a ServiceProvider.

No comments yet…