You are here

public property ProtectedUserFieldConstraint::$message in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 27
Contains \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint.

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.";