Expanded class hierarchy of AllowedValuesConstraint in Drupal 9
- class \Drupal\Core\Validation\Plugin\Validation\Constraint\AllowedValuesConstraint extends \Symfony\Component\Validator\Constraints\Choice
- class \Drupal\select_or_other\Plugin\Validation\AllowedValuesConstraint