mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
Use the new syntax for prepending the load of twig templates in some Chill*Extension class
This commit is contained in:
parent
507bd5c6b5
commit
dba1d0548e
@ -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);
|
||||
|
@ -129,7 +129,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'fields' => $config['accompanying_periods_fields'],
|
||||
],
|
||||
],
|
||||
'form_themes' => ['ChillPersonBundle:Export:ListPersonFormFields.html.twig'],
|
||||
'form_themes' => ['@ChillPerson/Export/ListPersonFormFields.html.twig'],
|
||||
];
|
||||
$container->prependExtensionConfig('twig', $twigConfig);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user