Add UIBlocks to twig (changed UIContentBlock params)

This commit is contained in:
Eric
2021-01-14 09:29:12 +01:00
parent bffb7b5eab
commit e51fd028fa
5 changed files with 95 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ class UIBlockHelper
{
public static function PushParentBlock($sBlockVarName)
{
return "\$context['UIBlockParent'][] = \${$sBlockVarName};\n";
return "array_push(\$context['UIBlockParent'], \${$sBlockVarName});\n";
}
public static function PopParentBlock()