You are here

public function RegexConstraint::validatedBy in Drupal 10

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

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php, line 24

Class

RegexConstraint
Regex constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public function validatedBy() {
  return '\\Symfony\\Component\\Validator\\Constraints\\RegexValidator';
}