Skip to content

Commit e6be2b9

Browse files
committed
minor #11216 Fixing minor error (ThomasLandauer)
This PR was merged into the 3.4 branch. Discussion ---------- 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. Commits ------- 8c512bd Fixing minor error
2 parents 96dc566 + 8c512bd commit e6be2b9

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)