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

Breadcrumb

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

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 31

Class

CommentNameConstraint
Supports validating comment author names.

Namespace

Drupal\comment\Plugin\Validation\Constraint

Code

public $messageRequired = 'You have to specify a valid author.';

API Navigation

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