Files
fewo-stommer/app/Filament/Resources/Properties/RelationManagers/ChannelsRelationManager.php
T
Lars 1f59cbb9a5
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m34s
Eigene Verwaltung fuer frei konfigurierbare Portale und Kalender anbieten
2026-10-27 17:29:24 +01:00

31 lines
832 B
PHP

<?php
namespace App\Filament\Resources\Properties\RelationManagers;
use App\Filament\Resources\Channels\Schemas\ChannelForm;
use App\Filament\Resources\Channels\Tables\ChannelsTable;
use Filament\Resources\RelationManagers\RelationManager;
use Filament\Schemas\Schema;
use Filament\Tables\Table;
class ChannelsRelationManager extends RelationManager
{
protected static string $relationship = 'channels';
protected static ?string $title = 'Portale & Kanäle';
protected static ?string $modelLabel = 'Portal';
protected static ?string $pluralModelLabel = 'Portale';
public function form(Schema $schema): Schema
{
return ChannelForm::configure($schema);
}
public function table(Table $table): Table
{
return ChannelsTable::configure($table, $this->getOwnerRecord());
}
}