mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
29 lines
658 B
PHP
29 lines
658 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Filament\Resources\Section\IconResource\Pages;
|
||
|
|
|
||
|
|
use App\Filament\Resources\Section\IconResource;
|
||
|
|
use Filament\Pages\Actions;
|
||
|
|
use Filament\Resources\Pages\EditRecord;
|
||
|
|
|
||
|
|
class EditIcon extends EditRecord
|
||
|
|
{
|
||
|
|
protected static string $resource = IconResource::class;
|
||
|
|
|
||
|
|
protected static string $view = 'filament.resources.system.category-icon-resource.pages.edit-record';
|
||
|
|
|
||
|
|
protected function getActions(): array
|
||
|
|
{
|
||
|
|
return [
|
||
|
|
Actions\DeleteAction::make(),
|
||
|
|
];
|
||
|
|
}
|
||
|
|
|
||
|
|
protected function getViewData(): array
|
||
|
|
{
|
||
|
|
return [
|
||
|
|
'desc' => nexus_trans('label.icon.desc')
|
||
|
|
];
|
||
|
|
}
|
||
|
|
}
|