mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-11 15:13:18 +02:00
29 lines
592 B
PHP
29 lines
592 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Resources\Base;
|
|
|
|
use Awcodes\Recently\Concerns\HasRecentHistoryRecorder;
|
|
use Filament\Resources\Pages\ViewRecord;
|
|
|
|
class BaseViewResource extends ViewRecord
|
|
{
|
|
use HasRecentHistoryRecorder;
|
|
|
|
/** @var array<string, string> */
|
|
protected $listeners = [
|
|
'updateAllRelationManager' => '$refresh',
|
|
];
|
|
|
|
/**
|
|
* Get the header actions available.
|
|
*
|
|
* @return \Filament\Actions\Action[]
|
|
*/
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return static::$resource::getActions();
|
|
}
|
|
}
|