LengthConstraint::$maxMessage

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

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

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