Merge remote branch 'tna/form-validation' into form
This commit is contained in:
commit
4f2fee8190
@ -21,7 +21,7 @@
|
|||||||
<!--
|
<!--
|
||||||
We don't need to be able to add more extensions.
|
We don't need to be able to add more extensions.
|
||||||
* more types can be registered with the form.type tag
|
* more types can be registered with the form.type tag
|
||||||
* more type_guessers can be registered with the form.type.type_guesser tag
|
* more type_guessers can be registered with the form.type.type_guesser tag
|
||||||
-->
|
-->
|
||||||
<argument type="service" id="form.extension" />
|
<argument type="service" id="form.extension" />
|
||||||
</argument>
|
</argument>
|
||||||
@ -148,6 +148,12 @@
|
|||||||
<tag name="form.type" alias="url" />
|
<tag name="form.type" alias="url" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<!-- FieldTypeValidatorExtension -->
|
||||||
|
<service id="form.type_extension.field" class="Symfony\Component\Form\Extension\Validator\Type\FieldTypeValidatorExtension">
|
||||||
|
<tag name="form.type_extension" alias="field" />
|
||||||
|
<argument type="service" id="validator" />
|
||||||
|
</service>
|
||||||
|
|
||||||
<!-- CsrfExtension -->
|
<!-- CsrfExtension -->
|
||||||
<service id="form.type.csrf" class="Symfony\Component\Form\Extension\Csrf\Type\CsrfType">
|
<service id="form.type.csrf" class="Symfony\Component\Form\Extension\Csrf\Type\CsrfType">
|
||||||
<tag name="form.type" alias="csrf" />
|
<tag name="form.type" alias="csrf" />
|
||||||
|
Reference in New Issue
Block a user