You are here

public function UuidConstraint::validatedBy in Drupal 8

Same name and namespace in other branches
  1. 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;
}