RangeFromGreaterToConstraint.php in Range 8
File
src/Plugin/Validation/Constraint/RangeFromGreaterToConstraint.phpView source
<?php
namespace Drupal\range\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Defines a FROM value is higher than TO value validation constraint.
*
* @Constraint(
* id = "RangeFromGreaterTo",
* label = @Translation("The FROM value is greater than the TO value.", context = "Validation"),
* )
*/
class RangeFromGreaterToConstraint extends Constraint {
public $message = 'The FROM value is higher than the TO value.';
}
Classes
Name![]() |
Description |
---|---|
RangeFromGreaterToConstraint | Defines a FROM value is higher than TO value validation constraint. |