mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
34 lines
720 B
PHP
34 lines
720 B
PHP
<?php
|
|
|
|
namespace App\States;
|
|
|
|
use Filament\Support\Contracts\HasColor;
|
|
use Filament\Support\Contracts\HasDescription;
|
|
use Filament\Support\Contracts\HasIcon;
|
|
use Filament\Support\Contracts\HasLabel;
|
|
|
|
class BannedUserStatus extends UserStatus implements HasColor, HasDescription, HasIcon, HasLabel
|
|
{
|
|
protected static string $name = 'banned';
|
|
|
|
public function getLabel(): ?string
|
|
{
|
|
return 'Banned';
|
|
}
|
|
|
|
public function getColor(): string | array | null
|
|
{
|
|
return 'danger';
|
|
}
|
|
|
|
public function getIcon(): ?string
|
|
{
|
|
return 'heroicon-o-no-symbol';
|
|
}
|
|
|
|
public function getDescription(): ?string
|
|
{
|
|
return 'User is blocked from panel access.';
|
|
}
|
|
}
|