You are here

public property CouponCodeConstraint::$message in Commerce Core 8.2

Overrides UniqueFieldConstraint::$message

File

modules/promotion/src/Plugin/Validation/Constraint/CouponCodeConstraint.php, line 17

Class

CouponCodeConstraint
Ensures coupon code uniqueness.

Namespace

Drupal\commerce_promotion\Plugin\Validation\Constraint

Code

public $message = 'The coupon code %value is already in use and must be unique.';