public function UniqueFieldConstraint::validatedBy in Drupal 10
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::validatedBy()
- 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldConstraint::validatedBy()
File
- core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldConstraint.php, line 22
Class
- UniqueFieldConstraint
- Checks if an entity field has a unique value.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public function validatedBy() {
return '\\Drupal\\Core\\Validation\\Plugin\\Validation\\Constraint\\UniqueFieldValueValidator';
}