diff --git a/config/filachat.php b/config/filachat.php index 8feb7a2..c906f12 100644 --- a/config/filachat.php +++ b/config/filachat.php @@ -121,6 +121,15 @@ */ 'slug' => 'filachat', + /* + |-------------------------------------------------------------------------- + | Navigation Label + |-------------------------------------------------------------------------- + | + | This option specifies the navigation label used in the sidebar. + */ + 'navigation_label' => 'FilaChat', + /* |-------------------------------------------------------------------------- | Navigation Icon diff --git a/src/Pages/FilaChat.php b/src/Pages/FilaChat.php index 7b4cd4f..cf2b9d5 100644 --- a/src/Pages/FilaChat.php +++ b/src/Pages/FilaChat.php @@ -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');