public property UserMailRequired::$message in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php \Drupal\user\Plugin\Validation\Constraint\UserMailRequired::message
Violation message. Use the same message as FormValidator.
Note that the name argument is not sanitized so that translators only have one string to translate. The name is sanitized in self::validate().
Type: string
File
- core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserMailRequired.php, line 36 - Contains \Drupal\user\Plugin\Validation\Constraint\UserMailRequired.
Class
- UserMailRequired
- Checks if the user's email address is provided if required.
Namespace
Drupal\user\Plugin\Validation\ConstraintCode
public $message = '@name field is required.';