tag the FileType service as a form type
This commit is contained in:
parent
6fcd319d78
commit
ea5b1f4d67
@ -93,6 +93,7 @@
|
|||||||
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
|
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0.</deprecated>
|
||||||
</service>
|
</service>
|
||||||
<service id="form.type.file" class="Symfony\Component\Form\Extension\Core\Type\FileType" public="true">
|
<service id="form.type.file" class="Symfony\Component\Form\Extension\Core\Type\FileType" public="true">
|
||||||
|
<tag name="form.type" />
|
||||||
<argument type="service" id="translator" on-invalid="ignore" />
|
<argument type="service" id="translator" on-invalid="ignore" />
|
||||||
</service>
|
</service>
|
||||||
<service id="form.type.hidden" class="Symfony\Component\Form\Extension\Core\Type\HiddenType" public="true">
|
<service id="form.type.hidden" class="Symfony\Component\Form\Extension\Core\Type\HiddenType" public="true">
|
||||||
|
Reference in New Issue
Block a user