[TWIG] Add 'dd' and 'die' functions to twig

This commit is contained in:
Hugo Sales 2021-12-10 12:06:47 +00:00
parent 33fba0d970
commit dd33720957
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -72,9 +72,10 @@ class Extension extends AbstractExtension
new TwigFunction('is_firefox', [Runtime::class, 'isFirefox']),
new TwigFunction('handle_override_template_import', [Runtime::class, 'handleOverrideTemplateImport']),
new TwigFunction('handle_override_stylesheet', [Runtime::class, 'handleOverrideStylesheet']),
new TwigFunction('open_details', [Runtime::class, 'openDetails']),
new TwigFunction('get_feeds', [Runtime::class, 'getFeeds']),
new TwigFunction('die', 'die'),
new TwigFunction('dd', 'dd'),
];
}
}