add deug_mode switch

Cette révision appartient à :
2023-08-16 10:44:50 +02:00
Parent 7b1241ab97
révision 9e7b4653ea
8 fichiers modifiés avec 27 ajouts et 8 suppressions

Voir le fichier

@ -203,6 +203,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();