SelectOtherAllowedValuesConstraint.php in CCK Select Other 8
File
src/Validation/Plugin/Validation/Constraint/SelectOtherAllowedValuesConstraint.php
View source
<?php
namespace Drupal\cck_select_other\Validation\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraints\Choice;
class SelectOtherAllowedValuesConstraint extends Choice {
public $minMessage = 'You must select at least %limit choice.|You must select at least %limit choices.';
public $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.';
public $strict = TRUE;
}