Allow to configure which themes should be available via parameters.yaml

This commit is contained in:
Jan Böhmer 2023-02-01 23:15:02 +01:00
parent 489b3e2c21
commit 08c97282a3
8 changed files with 99 additions and 26 deletions

View file

@ -68,10 +68,6 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
*/
public const ID_ANONYMOUS = 1;
public const AVAILABLE_THEMES = ['bootstrap', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal',
'litera', 'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'quartz', 'sandstone', 'simplex', 'sketchy', 'slate', 'solar',
'spacelab', 'superhero', 'united', 'vapor', 'yeti', 'zephyr'];
/**
* @var bool Determines if the user is disabled (user can not log in)
* @ORM\Column(type="boolean")