CommentNameConstraint::$messageRequired
Same name in other branches
- 8.9.x core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageRequired
- 10 core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageRequired
- 11.x core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageRequired
Message shown when an admin changes the comment-author to an invalid user.
Type: string
File
-
core/
modules/ comment/ src/ Plugin/ Validation/ Constraint/ CommentNameConstraint.php, line 30
Class
- CommentNameConstraint
- Supports validating comment author names.
Namespace
Drupal\comment\Plugin\Validation\ConstraintCode
public $messageRequired = 'You have to specify a valid author.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.