We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c978c3b commit 41f6c94Copy full SHA for 41f6c94
di/extension/core.php
@@ -26,7 +26,11 @@
26
*/
27
class core extends Extension
28
{
29
- const TWIG_OPTIONS_POSITION = 7;
+ /**
30
+ * Index of array in service template.twig.environment inside services_twig.yml
31
+ * @var int
32
+ */
33
+ const TWIG_OPTIONS_POSITION = 8;
34
35
/**
36
* Config path
@@ -86,7 +90,7 @@ public function load(array $configs, ContainerBuilder $container)
86
90
$twig_environment_options['auto_reload'] = true;
87
91
}
88
92
89
- // Replace the 7th argument, the options passed to the environment
93
+ // Replace the 8th argument, the options passed to the environment
94
$definition->replaceArgument(static::TWIG_OPTIONS_POSITION, $twig_environment_options);
95
96
if ($config['twig']['enable_debug_extension'])
0 commit comments