You are here

public property AllowedValuesConstraint::$maxMessage in Zircon Profile 8

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

Overrides Choice::$maxMessage

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php, line 25
Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\AllowedValuesConstraint.

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