You are here

public property CommentNameConstraint::$messageNameTaken in Drupal 8

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

Message shown when an anonymous user comments using a registered name.

Type: string

File

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

Class

CommentNameConstraint
Supports validating comment author names.

Namespace

Drupal\comment\Plugin\Validation\Constraint

Code

public $messageNameTaken = 'The name you used (%name) belongs to a registered user.';