LengthConstraint::$exactMessage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\LengthConstraint::exactMessage

Type: exactMessage

File

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

Class

LengthConstraint
Length constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $exactMessage = 'This value should have exactly %limit character.|This value should have exactly %limit characters.';

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