add new method for debug-check

This commit is contained in:
MaxBUhe 2023-08-17 08:50:41 +02:00
parent 216c53fa90
commit 443b456a0d
1 changed files with 5 additions and 0 deletions

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