Use the new syntax for prepending the load of twig templates in some Chill*Extension class

This commit is contained in:
2023-07-27 23:23:18 +02:00
parent 507bd5c6b5
commit dba1d0548e
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class ChillCustomFieldsExtension extends Extension implements PrependExtensionIn
// add form layout to twig resources
$twigConfig = [
'form_themes' => [
'ChillCustomFieldsBundle:Form:fields.html.twig',
'@ChillCustomFields/Form/fields.html.twig',
],
];
$container->prependExtensionConfig('twig', $twigConfig);