Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user