From 8c512bd308e1d98e80e5c4dd34cb2001c8dfeb72 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 25 Mar 2019 00:42:40 +0100 Subject: [PATCH] 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. --- reference/forms/types/entity.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index fdd69319c2e..dc4b50f277a 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -207,9 +207,9 @@ loading all entities. .. caution:: -   The entity used in the ``FROM`` clause of the `query_builder`_ option - will always be validated against the class which you have specified with - the form's `class`_ option. If you return another entity instead of the +   The entity used in the ``FROM`` clause of the `query_builder` option + will always be validated against the class which you have specified at the + `class`_ option. If you return another entity instead of the one used in your ``FROM`` clause (for instance if you return an entity from a joined table), it will break validation.