Allow to override the banner with its existing env variable

This commit is contained in:
Jan Böhmer 2025-08-24 17:37:16 +02:00
parent ae08d9539d
commit ac89489202
6 changed files with 13 additions and 22 deletions

View file

@ -49,6 +49,7 @@ class CustomizationSettings
#[SettingsParameter(
label: new TM("settings.system.customization.banner"),
formType: RichTextEditorType::class, formOptions: ['mode' => 'markdown-full'],
envVar: "BANNER", envVarMode: EnvVarMode::OVERWRITE,
)]
public ?string $banner = null;
@ -58,4 +59,4 @@ class CustomizationSettings
)]
#[ValidTheme]
public string $theme = 'bootstrap';
}
}