File tree Expand file tree Collapse file tree 10 files changed +20
-10
lines changed Expand file tree Collapse file tree 10 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 15
15
use Statikbe \FilamentFlexibleContentBlockPages \Form \Forms \MenuItemForm ;
16
16
use Statikbe \FilamentFlexibleContentBlockPages \Models \MenuItem ;
17
17
use Statikbe \FilamentFlexibleContentBlockPages \Resources \MenuResource ;
18
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
18
19
19
20
class ManageMenuItems extends TreePage
20
21
{
@@ -71,7 +72,7 @@ public function getBreadcrumbs(): array
71
72
protected function getActions (): array
72
73
{
73
74
return [
74
- LocaleSwitcher ::make (),
75
+ FlexibleLocaleSwitcher ::make (),
75
76
CreateAction::make ()
76
77
->label (flexiblePagesTrans ('menu_items.tree.add_item ' ))
77
78
->mountUsing (
Original file line number Diff line number Diff line change 6
6
use Filament \Resources \Pages \CreateRecord ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
9
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
9
10
use Statikbe \FilamentFlexibleContentBlocks \Filament \Pages \CreateRecord \Concerns \TranslatableWithMedia ;
10
11
11
12
class CreateSettings extends CreateRecord
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getHeaderActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
];
25
26
}
26
27
}
Original file line number Diff line number Diff line change 6
6
use Filament \Resources \Pages \EditRecord ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
9
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
9
10
use Statikbe \FilamentFlexibleContentBlocks \Filament \Pages \EditRecord \Concerns \TranslatableWithMedia ;
10
11
11
12
class EditSettings extends EditRecord
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getHeaderActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
];
25
26
}
26
27
}
Original file line number Diff line number Diff line change 7
7
use Filament \Resources \Pages \ListRecords ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
10
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
10
11
11
12
class ListSettings extends ListRecords
12
13
{
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getHeaderActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
CreateAction::make ()
25
26
// only show when no settings are created yet
26
27
->hidden (FilamentFlexibleContentBlockPages::config ()->getSettingsModel ()::exists ()),
Original file line number Diff line number Diff line change 6
6
use Filament \Resources \Pages \CreateRecord ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
9
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
9
10
10
11
class CreateTag extends CreateRecord
11
12
{
@@ -24,7 +25,7 @@ protected function getRedirectUrl(): string
24
25
protected function getActions (): array
25
26
{
26
27
return [
27
- LocaleSwitcher ::make (),
28
+ FlexibleLocaleSwitcher ::make (),
28
29
];
29
30
}
30
31
}
Original file line number Diff line number Diff line change 7
7
use Filament \Resources \Pages \EditRecord ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
10
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
10
11
11
12
class EditTag extends EditRecord
12
13
{
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
DeleteAction::make (),
25
26
];
26
27
}
Original file line number Diff line number Diff line change 8
8
use Filament \Resources \Pages \ListRecords \Concerns \Translatable ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
10
10
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
11
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
11
12
12
13
class ListTags extends ListRecords
13
14
{
@@ -21,7 +22,7 @@ public static function getResource(): string
21
22
protected function getActions (): array
22
23
{
23
24
return [
24
- LocaleSwitcher ::make (),
25
+ FlexibleLocaleSwitcher ::make (),
25
26
CreateAction::make (),
26
27
];
27
28
}
Original file line number Diff line number Diff line change 6
6
use Filament \Resources \Pages \CreateRecord ;
7
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
9
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
9
10
10
11
class CreateTagType extends CreateRecord
11
12
{
@@ -24,7 +25,7 @@ protected function getRedirectUrl(): string
24
25
protected function getActions (): array
25
26
{
26
27
return [
27
- LocaleSwitcher ::make (),
28
+ FlexibleLocaleSwitcher ::make (),
28
29
];
29
30
}
30
31
}
Original file line number Diff line number Diff line change 7
7
use Filament \Resources \Pages \EditRecord ;
8
8
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
10
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
10
11
11
12
class EditTagType extends EditRecord
12
13
{
@@ -20,7 +21,7 @@ public static function getResource(): string
20
21
protected function getActions (): array
21
22
{
22
23
return [
23
- LocaleSwitcher ::make (),
24
+ FlexibleLocaleSwitcher ::make (),
24
25
DeleteAction::make (),
25
26
];
26
27
}
Original file line number Diff line number Diff line change 8
8
use Filament \Resources \Pages \ListRecords \Concerns \Translatable ;
9
9
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
10
10
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
11
+ use Statikbe \FilamentFlexibleContentBlocks \Filament \Actions \FlexibleLocaleSwitcher ;
11
12
12
13
class ListTagTypes extends ListRecords
13
14
{
@@ -21,7 +22,7 @@ public static function getResource(): string
21
22
protected function getActions (): array
22
23
{
23
24
return [
24
- LocaleSwitcher ::make (),
25
+ FlexibleLocaleSwitcher ::make (),
25
26
CreateAction::make (),
26
27
];
27
28
}
You can’t perform that action at this time.
0 commit comments