8000 Pass the translator to the FileType when registering the extension · symfony/symfony@f882444 · GitHub
[go: up one dir, main page]

Skip to content

Commit f882444

Browse files
committed
Pass the translator to the FileType when registering the extension
1 parent 8b024dd commit f882444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Extension/Core/CoreExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function loadTypes()
6969
new Type\TimeType(),
7070
new Type\TimezoneType(),
7171
new Type\UrlType(),
72-
new Type\FileType(),
72+
new Type\FileType($this->translator),
7373
new Type\ButtonType(),
7474
new Type\SubmitType(),
7575
new Type\ResetType(),

0 commit comments

Comments
 (0)
0