add new method for debug-check
This commit is contained in:
parent
216c53fa90
commit
443b456a0d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user