How to add Filament Shield into a custom group in sidebar navigation?

I have a group set via a property:

protected static ?string $navigationGroup = "Settings";

that I use in every resource file to put them in the menu category Settings in my sidebar.

But I don't know where should I put this $navigationGroup property , in which file so it is moved to that ctegory as other resources with $navigationGroup set to Settings.

Because currently it is in its own group in the uppermost parent level.

In the config file I can only set true or false like:

        'navigation_sort' => -1,
        'navigation_badge' => true,
        'navigation_group' => true,


In other words,
I have this:
Dashboard
Filament Shield
Settings
  Users
  Some other menu item
  ...
Something Else
...


And I want this:
Dashboard
Settings
  Filament Shield
  Users
  Some other menu item
  ...
Something Else
...
Solution
The author of the plugin responded with the answer in the shield channel, but I will put it here too, for posterity.
So, it's actually super easy at least for my needs.
You need to publish the translation files of Filament Shield like: php artisan vendor:publish --tag="filament-shield-translations" and then
in the filament-shield.php file (inside your language directory so i.e. lang/vendor/filament-shield/de/filament-shield.php) of your language that you are using you change 'nav.group' => 'Settings' where Settings will be the exact string you are using as a group name in protected static ?string $navigationGroup = "Settings" so If you have protected static ?string $navigationGroup = "Page settings" it will be 'nav.group' => 'Page settings'
Was this page helpful?