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\EntityCode
public function setConditionOperator($condition_operator) {
$this
->set('condition_operator', $condition_operator);
return $this;
}