Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
32 lines
672 B
PHP
32 lines
672 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use BackedEnum;
|
|
use Filament\Support\Icons\Heroicon;
|
|
|
|
class PaymentPluginPage extends PluginSkeletonPage
|
|
{
|
|
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedCreditCard;
|
|
|
|
protected static ?int $navigationSort = 101;
|
|
|
|
protected static function pluginName(): string
|
|
{
|
|
return 'larablog/payment';
|
|
}
|
|
|
|
protected static function navKey(): string
|
|
{
|
|
return 'payment';
|
|
}
|
|
|
|
public static function shouldRegisterNavigation(): bool
|
|
{
|
|
// UI is owned by plugins/larablog/payment Filament resources/pages.
|
|
return false;
|
|
}
|
|
}
|