Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommentNameConstraint.php

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 24

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal