Quellcode durchsuchen

Merge pull request #2957 from row-b/patch-1

Update form_types.rst
Thomas vor 10 Jahren
Ursprung
Commit
a2c09df5ae
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      Resources/doc/reference/form_types.rst

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

@@ -85,6 +85,8 @@ btn_add, btn_list, btn_delete and btn_catalogue:
   with these parameters. Setting any of them to ``false`` will hide the
   corresponding button. You can also specify a custom translation catalogue
   for these labels, which defaults to ``SonataAdminBundle``.
+  
+Note: An admin class for the linked model class needs to be defined to render this form type.  
 
 sonata_type_model_hidden
 ^^^^^^^^^^^^^^^^^^^^^^^^