You are here

public function RangeConstraint::validatedBy in Zircon Profile 8.0

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

Returns the name of the class that validates this constraint.

By default, this is the fully qualified name of the constraint class suffixed with "Validator". You can override this method to change that behaviour.

Return value

string

Overrides Constraint::validatedBy

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php, line 33
Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\RangeConstraint.

Class

RangeConstraint
Range constraint.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

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