You are here

public function PromotionInterface::setCompatibility in Commerce Core 8.2

Sets the promotion compatibility.

Parameters

string $compatibility: The compatibility.

Return value

$this

1 method overrides PromotionInterface::setCompatibility()
Promotion::setCompatibility in modules/promotion/src/Entity/Promotion.php
Sets the promotion compatibility.

File

modules/promotion/src/Entity/PromotionInterface.php, line 351

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setCompatibility($compatibility);