Skip to content

Commit 8c512bd

Browse files
Fixing minor error
It's not the *form*'s class option, but the class option of the current field. Also removed the unnecessary self-referencing link.
1 parent aa60eb5 commit 8c512bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/forms/types/entity.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ loading all entities.
207207

208208
.. caution::
209209

210-
  The entity used in the ``FROM`` clause of the `query_builder`_ option
211-
will always be validated against the class which you have specified with
212-
the form's `class`_ option. If you return another entity instead of the
210+
  The entity used in the ``FROM`` clause of the `query_builder` option
211+
will always be validated against the class which you have specified at the
212+
`class`_ option. If you return another entity instead of the
213213
one used in your ``FROM`` clause (for instance if you return an entity
214214
from a joined table), it will break validation.
215215

0 commit comments

Comments
 (0)