Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea5b1f4

Browse files
committed
tag the FileType service as a form type
1 parent 6fcd319 commit ea5b1f4

File tree

1 file changed

+1
-0
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
9494
</service>
9595
<service id="form.type.file" class="Symfony\Component\Form\Extension\Core\Type\FileType" public="true">
96+
<tag name="form.type" />
9697
<argument type="service" id="translator" on-invalid="ignore" />
9798
</service>
9899
<service id="form.type.hidden" class="Symfony\Component\Form\Extension\Core\Type\HiddenType" public="true">

0 commit comments

Comments
 (0)