public function MinQtyLessThanOrEqualMaxQtyConstraint::coversFields in Commerce Product Bundle 8
@inheritdoc
Overrides CompositeConstraintBase::coversFields
File
- src/
Plugin/ Validation/ Constraint/ MinQtyLessThanOrEqualMaxQtyConstraint.php, line 28
Class
- MinQtyLessThanOrEqualMaxQtyConstraint
- Helps validating that the minimum qty value is less than or equal to the maximum qty.
Namespace
Drupal\commerce_product_bundle\Plugin\Validation\ConstraintCode
public function coversFields() {
return [
'min_quantity',
'max_quantity',
];
}