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
40
40
41
41
public static function getNavigationLabel (): string
42
42
{
43
- return flexiblePagesTrans ('tag_types .tag_plural_lbl ' );
43
+ return flexiblePagesTrans ('tags .tag_plural_lbl ' );
44
44
}
45
45
46
46
public static function getModelLabel (): string
47
47
{
48
- return flexiblePagesTrans ('tag_types .tag_lbl ' );
48
+ return flexiblePagesTrans ('tags .tag_lbl ' );
49
49
}
50
50
51
51
public static function getPluralModelLabel (): string
52
52
{
53
- return flexiblePagesTrans ('tag_types .tag_plural_lbl ' );
53
+ return flexiblePagesTrans ('tags .tag_plural_lbl ' );
54
54
}
55
55
56
56
public static function getNavigationSort (): ?int
Original file line number Diff line number Diff line change 18
18
use Guava \FilamentIconPicker \Forms \IconPicker ;
19
19
use Guava \FilamentIconPicker \Tables \IconColumn ;
20
20
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
21
+ use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
21
22
use Statikbe \FilamentFlexibleContentBlockPages \Form \Components \NameField ;
22
23
use Statikbe \FilamentFlexibleContentBlockPages \Resources \TagTypeResource \Pages \CreateTagType ;
23
24
use Statikbe \FilamentFlexibleContentBlockPages \Resources \TagTypeResource \Pages \EditTagType ;
@@ -58,6 +59,11 @@ public static function getPluralModelLabel(): string
58
59
return flexiblePagesTrans ('tag_types.tag_type_plural_lbl ' );
59
60
}
60
61
62
+ public static function getNavigationParentItem (): ?string
63
+ {
64
+ return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_TAG ]::getNavigationParentItem ();
65
+ }
66
+
61
67
public static function getNavigationSort (): ?int
62
68
{
63
69
return 3 ;
You can’t perform that action at this time.
0 commit comments