AllowedValuesConstraint::$maxMessage

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

Type: maxMessage

File

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

Class

AllowedValuesConstraint
Checks for the value being allowed.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.';

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