add new method for debug-check

Cette révision appartient à :
MaxBUhe 2023-08-17 08:50:41 +02:00
Parent 216c53fa90
révision 443b456a0d
1 fichiers modifiés avec 5 ajouts et 0 suppressions

Voir le fichier

@ -195,6 +195,11 @@ class ViewConfig extends ViewConfig_parent
return json_encode([$dataLayer], JSON_PRETTY_PRINT);
}
public function isDebugModeOn() :bool
{
return Registry::getConfig()->getConfigParam('d3_gtm_blEnableDebug');
}
public function isPromotionList($listId)
{
$oConfig = Registry::getConfig();