You are here

public function Promotion::setConditionOperator in Commerce Core 8.2

Sets the condition operator.

Parameters

string $condition_operator: The condition operator.

Return value

$this

Overrides PromotionInterface::setConditionOperator

File

modules/promotion/src/Entity/Promotion.php, line 310

Class

Promotion
Defines the promotion entity class.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setConditionOperator($condition_operator) {
  $this
    ->set('condition_operator', $condition_operator);
  return $this;
}