You are here

public property LengthConstraint::$maxMessage in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\LengthConstraint::maxMessage

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php, line 22

Class

LengthConstraint
Length constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $maxMessage = 'This value is too long. It should have %limit character or less.|This value is too long. It should have %limit characters or less.';