Merge branch 'main' of github.com:Froxlor/Froxlor

This commit is contained in:
Michael Kaufmann
2023-01-15 23:49:09 +01:00
5 changed files with 61 additions and 5 deletions

View File

@@ -87,6 +87,10 @@ class FroxlorTwig extends AbstractExtension
new TwigFunction('linker', [
$this,
'getLink'
]),
new TwigFunction('mix', [
$this,
'getMix'
])
];
}
@@ -158,4 +162,9 @@ class FroxlorTwig extends AbstractExtension
{
return 'froxlortwig';
}
public function getMix($mix = '')
{
return mix($mix);
}
}