Skip to content

Commit d64e1fa

Browse files
dpcat237weaverryan
authored andcommitted
Add "data_class" option description symfony#3334
1 parent 2cbe0bc commit d64e1fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/forms/types/entity.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ objects from the database.
1313
| Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) |
1414
+-------------+------------------------------------------------------------------+
1515
| Options | - `class`_ |
16+
| | - `data_class`_ |
1617
| | - `property`_ |
1718
| | - `group_by`_ |
1819
| | - `query_builder`_ |
@@ -105,6 +106,8 @@ The class of your entity (e.g. ``AcmeStoreBundle:Category``). This can be
105106
a fully-qualified class name (e.g. ``Acme\StoreBundle\Entity\Category``)
106107
or the short alias name (as shown prior).
107108

109+
.. include:: /reference/forms/types/options/data_class.rst.inc
110+
108111
property
109112
~~~~~~~~
110113

0 commit comments

Comments
 (0)