collection-crud/config/packages/twig.php

11 lines
291 B
PHP
Raw Permalink Normal View History

2022-11-17 15:32:57 -05:00
<?php declare(strict_types=1);
2022-11-03 10:44:05 -04:00
2022-11-17 15:32:57 -05:00
use Symfony\Config\TwigConfig;
2022-11-03 10:44:05 -04:00
2022-11-17 15:32:57 -05:00
return static function (TwigConfig $config): void {
$config->formThemes(['form_custom_layout.html.twig'])
->defaultPath('%kernel.project_dir%/templates')
->debug('%kernel.debug%')
2023-07-21 10:35:15 -04:00
->strictVariables('%kernel.debug%');
2022-11-03 10:44:05 -04:00
};