8000 Add deprecation notice to "choice_list" option of ChoiceType · Pull Request #5543 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Add deprecation notice to "choice_list" option of ChoiceType #5543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
Prev Previous commit
change deprecation notice on choice_list to point to choices
  • Loading branch information
Christopher Gross committed Jul 22, 2015
commit e3581488f8b4f4d9240b7b6e83302421d21a5127
2 changes: 1 addition & 1 deletion reference/forms/types/choice.rst
Original file line number Dif 5D91 f line number Diff line change
Expand Up @@ -105,7 +105,7 @@ choice_list
.. caution::

The ``choice_list`` option of ChoiceType was deprecated in Symfony 2.7.
You should use ``choices_as_values`` or ``choice_loader`` now.
You should use ``choices`` or ``choice_loader`` now.

**type**: :class:`Symfony\\Component\\Form\\Extension\\Core\\ChoiceList\\ChoiceListInterface`

Expand Down
0