Merge branch 'develop' into feature/twig-hooks-filters

This commit is contained in:
slawkens
2025-03-09 21:24:47 +01:00
59 changed files with 2732 additions and 2283 deletions

View File

@@ -139,6 +139,11 @@ $function = new TwigFunction('csrfToken', function () {
});
$twig->addFunction($function);
$function = new TwigFunction('session', function ($key) {
return session($key);
});
$twig->addFunction($function);
$filter = new TwigFilter('urlencode', function ($s) {
return urlencode($s);
});