File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ public static function getNavigationLabel(): string
4444 return flexiblePagesTrans ('tags.tag_plural_lbl ' );
4545 }
4646
47+ public static function getLabel (): ?string
48+ {
49+ return flexiblePagesTrans ('tags.tag_lbl ' );
50+ }
51+
4752 public static function getModelLabel (): string
4853 {
4954 return flexiblePagesTrans ('tags.tag_lbl ' );
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ public static function getNavigationLabel(): string
4949 return flexiblePagesTrans ('tag_types.tag_type_plural_lbl ' );
5050 }
5151
52+ public static function getLabel (): ?string
53+ {
54+ return flexiblePagesTrans ('tag_types.tag_type_lbl ' );
55+ }
56+
5257 public static function getModelLabel (): string
5358 {
5459 return flexiblePagesTrans ('tag_types.tag_type_lbl ' );
@@ -61,7 +66,7 @@ public static function getPluralModelLabel(): string
6166
6267 public static function getNavigationParentItem (): ?string
6368 {
64- return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_TAG ]::getNavigationParentItem ();
69+ return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_TAG ]::getLabel ();
6570 }
6671
6772 public static function getNavigationSort (): ?int
You can’t perform that action at this time.
0 commit comments