File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,10 @@ you'll need to specify which validation group(s) your form should use::
470
470
'validation_groups' => array('registration'),
471
471
))->add(...);
472
472
473
+ .. versionadded :: 2.7
474
+ The ``configureOptions() `` method was introduced in Symfony 2.7. Previously,
475
+ the method was called ``setDefaultOptions() ``.
476
+
473
477
If you're creating :ref: `form classes <book-form-creating-form-classes >` (a
474
478
good practice), then you'll need to add the following to the ``configureOptions() ``
475
479
method::
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ important:
72
72
set) the ``multiple `` attribute on the ``select `` field. See `Creating a Template for the Field `_
73
73
for more details.
74
74
75
+ .. versionadded :: 2.7
76
+ The ``configureOptions() `` method was introduced in Symfony 2.7. Previously,
77
+ the method was called ``setDefaultOptions() ``.
78
+
75
79
``configureOptions() ``
76
80
This defines options for your form type that
77
81
can be used in ``buildForm() `` and ``buildView() ``. There are a lot of
You can’t perform that action at this time.
0 commit comments