public property LicenseSubscriptionTypeConstraint::$message in Commerce License 8.2
The default violation message.
Type: string
File
- src/
Plugin/ Validation/ Constraint/ LicenseSubscriptionTypeConstraint.php, line 22
Class
- LicenseSubscriptionTypeConstraint
- Ensures the license subscription type can only be used with a license trait.
Namespace
Drupal\commerce_license\Plugin\Validation\ConstraintCode
public $message = 'The License subscription type may only be used on product variations which are configured to use a license.' . ' ' . 'You must enable the license trait on the <a href="@url-edit-product-variation-type">edit %product-variation-type-label product variation type</a>.';