Skip to content

Commit 4df3d76

Browse files
committed
Rename hash_mapping into hash_property_path
1 parent 839808f commit 4df3d76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/forms/types/password.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ with the ``value`` attribute set to its true value only upon submission.
3535
If you want to render your password field *with* the password value already
3636
entered into the box, set this to false and submit the form.
3737

38-
``hash_mapping``
39-
~~~~~~~~~~~~~~~~
38+
``hash_property_path``
39+
~~~~~~~~~~~~~~~~~~~~~~
4040

4141
**type**: ``string`` **default**: ``null``
4242

@@ -51,8 +51,8 @@ Data passed to the form must be a ``PasswordAuthenticatedUserInterface`` object.
5151
this option can only be used with the ``mapped`` option set to ``false``.
5252

5353
$builder->add('plainPassword', PasswordType::class, [
54-
'hash_mapping' => 'password',
55-
'mapped' => false,
54+
'hash_property_path' => 'password',
55+
'mapped' => false,
5656
]);
5757

5858
See the :ref:`"mapped" option documentation <reference-form-mapped>`.

0 commit comments

Comments
 (0)