mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
34 lines
734 B
PHP
34 lines
734 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 SuspendedUserStatus extends UserStatus implements HasColor, HasDescription, HasIcon, HasLabel
|
|
{
|
|
protected static string $name = 'suspended';
|
|
|
|
public function getLabel(): ?string
|
|
{
|
|
return 'Suspended';
|
|
}
|
|
|
|
public function getColor(): string | array | null
|
|
{
|
|
return 'warning';
|
|
}
|
|
|
|
public function getIcon(): ?string
|
|
{
|
|
return 'heroicon-o-pause-circle';
|
|
}
|
|
|
|
public function getDescription(): ?string
|
|
{
|
|
return 'User access is temporarily limited.';
|
|
}
|
|
}
|