feat(main): Add alert type; add template override support

This commit is contained in:
2026-08-13 15:31:23 +02:00
parent ce480314f3
commit 34fb95a699
18 changed files with 202 additions and 8 deletions
@@ -28,6 +28,8 @@ final class CustomHtmlBlockDataProvider implements FormDataProviderInterface
'description' => $block->description,
'extra_description' => $block->extra_description,
'link' => $block->link,
'alert_type' => $block->alert_type,
'timeout' => (int) $block->timeout,
'faqs' => $this->loadFaqs((int) $id),
'active' => (bool) $block->active,
];
@@ -46,6 +48,8 @@ final class CustomHtmlBlockDataProvider implements FormDataProviderInterface
'description' => '',
'extra_description' => '',
'link' => '',
'alert_type' => 'info',
'timeout' => 0,
'faqs' => [],
'active' => true,
];