. */ declare(strict_types=1); namespace App\Settings\BehaviorSettings; use App\Settings\SettingsIcon; use Jbtronics\SettingsBundle\Metadata\EnvVarMode; use Jbtronics\SettingsBundle\Settings\Settings; use Jbtronics\SettingsBundle\Settings\SettingsParameter; use Symfony\Component\Translation\TranslatableMessage as TM; #[Settings(name: "keybindings", label: new TM("settings.behavior.keybindings"))] #[SettingsIcon('fa-keyboard')] class KeybindingsSettings { /** * Whether to enable special character keybindings (Alt+key) in text input fields * @var bool */ #[SettingsParameter( label: new TM("settings.behavior.keybindings.enable_special_characters"), description: new TM("settings.behavior.keybindings.enable_special_characters.help"), envVar: "bool:KEYBINDINGS_SPECIAL_CHARS_ENABLED", envVarMode: EnvVarMode::OVERWRITE )] public bool $enableSpecialCharacters = true; }