Skip to content

Commit

Permalink
added navigation label
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero committed Jul 17, 2024
1 parent 63799a7 commit 4258e4d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/filachat.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@
*/
'slug' => 'filachat',

/*
|--------------------------------------------------------------------------
| Navigation Label
|--------------------------------------------------------------------------
|
| This option specifies the navigation label used in the sidebar.
*/
'navigation_label' => 'FilaChat',

/*
|--------------------------------------------------------------------------
| Navigation Icon
Expand Down
5 changes: 5 additions & 0 deletions src/Pages/FilaChat.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ public static function getSlug(): string
return config('filachat.slug') . '/{id?}';
}

public static function getNavigationLabel(): string
{
return config('filachat.navigation_label');
}

public static function getNavigationIcon(): string | Htmlable | null
{
return config('filachat.navigation_icon');
Expand Down

0 comments on commit 4258e4d

Please sign in to comment.