EnumConstraint::$notEnumMessage
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EnumConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\EnumConstraint::notEnumMessage
Violation message if the value is not an enum.
Type: notEnumMessage
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EnumConstraint.php, line 23
Class
- EnumConstraint
- Checks that a value is a valid Enum.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public string $notEnumMessage = 'The value you selected is not a valid enum.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.