function UuidConstraint::validatedBy

Same name in other branches
  1. 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UuidConstraint::validatedBy()
  2. 8.9.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UuidConstraint::validatedBy()
  3. 11.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\UuidConstraint::validatedBy()

@todo Add method return type declaration.

Return value

string The name of the class that validates this constraint.

See also

https://www.drupal.org/project/drupal/issues/3425150

File

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

Class

UuidConstraint
Validates a UUID.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.