Quellcode durchsuchen

Update documentation for deprecated choice_list.

Jules Lamur vor 8 Jahren
Ursprung
Commit
e7ef565145
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      Resources/doc/reference/form_types.rst

+ 4 - 0
Resources/doc/reference/form_types.rst

@@ -75,8 +75,12 @@ preferred_choices
   defaults to array() - see the `Symfony choice Field Type docs`_ for more info
   defaults to array() - see the `Symfony choice Field Type docs`_ for more info
 
 
 choice_list
 choice_list
+  **(deprecated in favor of choice_loader since Symfony 2.7)**
   defaults to a ``ModelChoiceList`` built from the other options
   defaults to a ``ModelChoiceList`` built from the other options
 
 
+choice_loader
+  defaults to a ``ModelChoiceLoader`` built from the other options
+
 model_manager
 model_manager
   defaults to null, but is actually calculated from the linked Admin class.
   defaults to null, but is actually calculated from the linked Admin class.
   You usually should not need to set this manually.
   You usually should not need to set this manually.