File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Statikbe \FilamentFlexibleContentBlockPages \Resources \PageResource \Pages ;
4
4
5
+ use Filament \Actions \LocaleSwitcher ;
5
6
use Filament \Resources \Pages \CreateRecord ;
6
7
use Statikbe \FilamentFlexibleContentBlockPages \Facades \FilamentFlexibleContentBlockPages ;
7
8
use Statikbe \FilamentFlexibleContentBlockPages \FilamentFlexibleContentBlockPagesConfig ;
@@ -15,4 +16,11 @@ public static function getResource(): string
15
16
{
16
17
return FilamentFlexibleContentBlockPages::config ()->getResources ()[FilamentFlexibleContentBlockPagesConfig::TYPE_PAGE ];
17
18
}
19
+
20
+ protected function getActions (): array
21
+ {
22
+ return [
23
+ LocaleSwitcher::make (),
24
+ ];
25
+ }
18
26
}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ protected function getActions(): array
26
26
{
27
27
return [
28
28
LocaleSwitcher::make (),
29
- DeleteAction::make (),
30
29
];
31
30
}
32
31
}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ protected function getActions(): array
26
26
{
27
27
return [
28
28
LocaleSwitcher::make (),
29
- DeleteAction::make (),
30
29
];
31
30
}
32
31
}
You can’t perform that action at this time.
0 commit comments