File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,17 @@ public static function getNavigationGroup(): ?string
4040
4141 public static function getNavigationLabel (): string
4242 {
43- return flexiblePagesTrans ('tag_types .tag_plural_lbl ' );
43+ return flexiblePagesTrans ('tags .tag_plural_lbl ' );
4444 }
4545
4646 public static function getModelLabel (): string
4747 {
48- return flexiblePagesTrans ('tag_types .tag_lbl ' );
48+ return flexiblePagesTrans ('tags .tag_lbl ' );
4949 }
5050
5151 public static function getPluralModelLabel (): string
5252 {
53- return flexiblePagesTrans ('tag_types .tag_plural_lbl ' );
53+ return flexiblePagesTrans ('tags .tag_plural_lbl ' );
5454 }
5555
5656 public static function getNavigationSort (): ?int
Original file line number Diff line number Diff line change 1818use Guava \FilamentIconPicker \Forms \IconPicker ;
1919use Guava \FilamentIconPicker \Tables \IconColumn ;
2020use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
21+ use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
2122use Statikbe \FilamentFlexibleContentBlockPages \Form \Components \NameField ;
2223use Statikbe \FilamentFlexibleContentBlockPages \Resources \TagTypeResource \Pages \CreateTagType ;
2324use Statikbe \FilamentFlexibleContentBlockPages \Resources \TagTypeResource \Pages \EditTagType ;
@@ -58,6 +59,11 @@ public static function getPluralModelLabel(): string
5859 return flexiblePagesTrans ('tag_types.tag_type_plural_lbl ' );
5960 }
6061
62+ public static function getNavigationParentItem (): ?string
63+ {
64+ return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_TAG ]::getNavigationParentItem ();
65+ }
66+
6167 public static function getNavigationSort (): ?int
6268 {
6369 return 3 ;
You can’t perform that action at this time.
0 commit comments