Veröffentliche fachliche Säulen als Themenbereiche der Website.
Deploy Test / test (push) Successful in 15s
Deploy Test / deploy (push) Successful in 22s

Dieselbe Liste trägt die öffentliche Seite. Medien bleiben privat, Seiten können mehreren Säulen zugeordnet sein.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 11:46:48 +01:00
1 parent af85a94cd5
commit 8cd382c357
21 files changed
+379 -13

No files matched your search

@@ -42,11 +42,25 @@ protected function getHeaderActions(): array
];
}
protected function mutateFormDataBeforeFill(array $data): array
{
$data['published'] = $this->getRecord()->published_at !== null;
return $data;
}
protected function handleRecordUpdate(Model $record, array $data): Model
{
/** @var Pillar $record */
try {
app(PillarService::class)->rename($record, $data['name']);
app(PillarService::class)->present(
$record,
(string) $data['name'],
(string) ($data['slug'] ?? ''),
$data['public_summary'] ?? null,
(bool) ($data['published'] ?? false),
(int) ($data['sort_order'] ?? 0),
);
} catch (DomainRuleException $exception) {
Notification::make()->title($exception->getMessage())->danger()->send();