CommentNameConstraint::$messageMatch

Same name and namespace in other branches
  1. 9 core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageMatch
  2. 10 core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageMatch
  3. 11.x core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraint::messageMatch

Message shown when the name doesn't match the author's name.

Type: string

File

core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php, line 37

Class

CommentNameConstraint
Supports validating comment author names.

Namespace

Drupal\comment\Plugin\Validation\Constraint

Code

public $messageMatch = 'The specified author name does not match the comment author.';

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