You are here

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\Constraint

Code

public function coversFields() {
  return [
    'min_quantity',
    'max_quantity',
  ];
}