add new method for debug-check

This commit is contained in:
MaxBUhe 2023-08-17 08:50:41 +02:00
parent 216c53fa90
commit 443b456a0d

View File

@ -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();