You are here

public function ShippingMethod::setConditionOperator in Commerce Shipping 8.2

Sets the shipping method condition operator.

Parameters

string $condition_operator: The condition operator.

Return value

$this

Overrides ShippingMethodInterface::setConditionOperator

File

src/Entity/ShippingMethod.php, line 186

Class

ShippingMethod
Defines the shipping method entity class.

Namespace

Drupal\commerce_shipping\Entity

Code

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