You are here

public function UuidConstraint::validatedBy in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UuidConstraint::validatedBy()
  2. 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UuidConstraint::validatedBy()

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php, line 21

Class

UuidConstraint
Validates a UUID.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public function validatedBy() {
  return UuidValidator::class;
}