Importierte Übungen werden im selben Editor bearbeitet und als neue Fassung gespeichert. Lokal bearbeitete Texte und Felder bleiben bei der nächsten Übernahme erhalten, bei Änderung auf beiden Seiten entscheidet die Redaktion. Ein Fehler im Editor setzte die Herkunft der Varianten auf lokal und ist behoben. Übungen haben einen Einstieg unter Inhalte, Fachliche Säulen und Redaktionelle Stammdaten stehen in der Gruppe Stammdaten, die Übernahme ist ein Weg im Übungsbestand. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
35 lines
981 B
PHP
35 lines
981 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Combinations;
|
|
|
|
use App\Domain\Catalog\CompositionKind;
|
|
use App\Filament\Resources\Combinations\Pages\EditCombination;
|
|
use App\Filament\Resources\Combinations\Pages\ListCombinations;
|
|
use App\Filament\Resources\Compositions\CompositionKindResource;
|
|
|
|
class CombinationResource extends CompositionKindResource
|
|
{
|
|
protected static ?string $slug = 'kombinationen';
|
|
|
|
protected static ?string $navigationLabel = 'Fachliche Kombinationen';
|
|
|
|
protected static ?string $modelLabel = 'Fachliche Kombination';
|
|
|
|
protected static ?string $pluralModelLabel = 'Fachliche Kombinationen';
|
|
|
|
protected static ?int $navigationSort = 5;
|
|
|
|
public static function kind(): CompositionKind
|
|
{
|
|
return CompositionKind::Kombination;
|
|
}
|
|
|
|
public static function getPages(): array
|
|
{
|
|
return [
|
|
'index' => ListCombinations::route('/'),
|
|
'edit' => EditCombination::route('/{record}'),
|
|
];
|
|
}
|
|
}
|