public function ShippingMethod::getConditionOperator in Commerce Shipping 8.2
Gets the shipping method condition operator.
Return value
string The condition operator. Possible values: AND, OR.
Overrides ShippingMethodInterface::getConditionOperator
1 call to ShippingMethod::getConditionOperator()
- ShippingMethod::applies in src/
Entity/ ShippingMethod.php - Checks whether the shipping method applies to the given shipment.
File
- src/
Entity/ ShippingMethod.php, line 179
Class
- ShippingMethod
- Defines the shipping method entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function getConditionOperator() {
return $this
->get('condition_operator')->value;
}