File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/Dropzone/DependencyInjection Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \UX \Dropzone \DependencyInjection ;
1313
14- use Symfony \Bundle \TwigBundle \DependencyInjection \Configuration ;
1514use Symfony \Component \DependencyInjection \ContainerBuilder ;
1615use Symfony \Component \DependencyInjection \Definition ;
1716use Symfony \Component \DependencyInjection \Extension \PrependExtensionInterface ;
@@ -34,10 +33,7 @@ public function prepend(ContainerBuilder $container)
3433 return ;
3534 }
3635
37- $ config = $ this ->processConfiguration (new Configuration (), $ container ->getExtensionConfig ('twig ' ));
38- $ config ['form_themes ' ][] = '@Dropzone/form_theme.html.twig ' ;
39-
40- $ container ->prependExtensionConfig ('twig ' , $ config );
36+ $ container ->prependExtensionConfig ('twig ' , ['form_themes ' => ['@Dropzone/form_theme.html.twig ' ]]);
4137 }
4238
4339 public function load (array $ configs , ContainerBuilder $ container )
You can’t perform that action at this time.
0 commit comments