Skip to content

Commit b541564

Browse files
committed
minor #6923 Clarify by_reference use (jxmallett)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6923). Discussion ---------- Clarify by_reference use I'd like to make it clear that `by_reference` must be set to `false` if the developer requires that an entity's setter method be called. Commits ------- 6675692 Clarify by_reference use
2 parents bc046f0 + 6675692 commit b541564

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/forms/types/options/by_reference.rst.inc

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ by_reference
33

44
**type**: ``boolean`` **default**: ``true``
55

6-
In most cases, if you have a ``name`` field, then you expect ``setName()``
7-
to be called on the underlying object. In some cases, however, ``setName()``
8-
may *not* be called. Setting ``by_reference`` ensures that the setter is
6+
In most cases, if you have an ``author`` field, then you expect ``setAuthor()``
7+
to be called on the underlying object. In some cases, however, ``setAuthor()``
8+
may *not* be called. Setting ``by_reference`` to ``false`` ensures that the setter is
99
called in all cases.
1010

1111
To explain this further, here's a simple example::

0 commit comments

Comments
 (0)