We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c6796 commit 584571fCopy full SHA for 584571f
cookbook/bundles/override.rst
@@ -101,16 +101,14 @@ Forms
101
102
In order to override a form type, it has to be registered as a service (meaning
103
it is tagged as "form.type"). You can then override it as you would override any
104
-service as explained in "Services & Configuration". This, of course, will only
+service as explained in `Services & Configuration`_. This, of course, will only
105
work if the type is referred to by its alias rather than being instantiated,
106
-e.g.:
+e.g.::
107
108
-.. code-block:: php
109
$builder->add('name', 'custom_type');
110
111
-rather than
+rather than::
112
113
114
$builder->add('name', new CustomType());
115
116
Validation metadata
0 commit comments