CountConstraint::$maxMessage

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

Type: maxMessage

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php, line 21

Class

CountConstraint
Count constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $maxMessage = 'This collection should contain %limit element or less.|This collection should contain %limit elements or less.';

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