ProtectedUserFieldConstraint::$message

Same name in other branches
  1. 8.9.x core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint::message
  2. 10 core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint::message
  3. 11.x core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint::message

Violation message.

Type: string

File

core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php, line 22

Class

ProtectedUserFieldConstraint
Checks if the plain text password is provided for editing a protected field.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

public $message = "Your current password is missing or incorrect; it's required to change the %name.";

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.