class RangeFromGreaterToConstraint in Range 8
Defines a FROM value is higher than TO value validation constraint.
Plugin annotation
@Constraint(
id = "RangeFromGreaterTo",
label = @Translation("The FROM value is greater than the TO value.", context = "Validation"),
)
Hierarchy
- class \Drupal\range\Plugin\Validation\Constraint\RangeFromGreaterToConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of RangeFromGreaterToConstraint
1 file declares its use of RangeFromGreaterToConstraint
- RangeFromGreaterToConstraintValidatorTest.php in tests/
src/ Unit/ Plugin/ Validation/ Constraint/ RangeFromGreaterToConstraintValidatorTest.php
File
- src/
Plugin/ Validation/ Constraint/ RangeFromGreaterToConstraint.php, line 15
Namespace
Drupal\range\Plugin\Validation\ConstraintView source
class RangeFromGreaterToConstraint extends Constraint {
public $message = 'The FROM value is higher than the TO value.';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RangeFromGreaterToConstraint:: |
public | property |