TwigHelper: Add constant for backoffice's templates base folder

Note: We might add more in the future for other GUIs
This commit is contained in:
Molkobain
2021-03-30 18:16:47 +02:00
parent 99f09127ea
commit 0c87bd9aad

View File

@@ -49,6 +49,12 @@ class TwigHelper
*/
public const ENUM_FILE_TYPE_SVG = 'svg';
/**
* @var string Base path for the backoffice templates
* @since 3.0.0
*/
public const ENUM_TEMPLATES_BASE_PATH_BACKOFFICE = APPROOT.'templates/';
/**
* @var string DEFAULT_FILE_TYPE
* @since 3.0.0