public property UniqueFieldConstraint::$message in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldConstraint::message
File
- core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldConstraint.php, line 17
Class
- UniqueFieldConstraint
- Checks if an entity field has a unique value.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public $message = 'A @entity_type with @field_name %value already exists.';