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 600d302 commit d5cd8d0Copy full SHA for d5cd8d0
bundles/override.rst
@@ -72,15 +72,7 @@ associations. Learn more about this feature and its limitations in
72
Forms
73
-----
74
75
-Form types are referred to by their fully-qualified class name::
76
-
77
- $builder->add('name', CustomType::class);
78
79
-This means that you cannot override this by creating a sub-class of ``CustomType``
80
-and registering it as a service and tagging it with ``form.type`` (you *could*
81
-do this in an earlier version).
82
83
-Instead, you should use a "form type extension" to modify the existing form type.
+Existing form types can be modified defining "form type extensions".
84
For more information, see :doc:`/form/create_form_type_extension`.
85
86
.. _override-validation:
0 commit comments