File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 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::
470470 'validation_groups' => array('registration'),
471471 ))->add(...);
472472
473+ .. versionadded :: 2.7
474+ The ``configureOptions() `` method was introduced in Symfony 2.7. Previously,
475+ the method was called ``setDefaultOptions() ``.
476+
473477If you're creating :ref: `form classes <book-form-creating-form-classes >` (a
474478good practice), then you'll need to add the following to the ``configureOptions() ``
475479method::
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ important:
7272 set) the ``multiple `` attribute on the ``select `` field. See `Creating a Template for the Field `_
7373 for more details.
7474
75+ .. versionadded :: 2.7
76+ The ``configureOptions() `` method was introduced in Symfony 2.7. Previously,
77+ the method was called ``setDefaultOptions() ``.
78+
7579``configureOptions() ``
7680 This defines options for your form type that
7781 can be used in ``buildForm() `` and ``buildView() ``. There are a lot of
You can’t perform that action at this time.
0 commit comments