You are here

protected function OrderIsShippableCondition::doEvaluate in Ubercart 8.4

Evaluates if the the order is shippable.

Parameters

\Drupal\uc_order\OrderInterface $order: The order.

Return value

bool TRUE if the order is shippable.

File

uc_order/src/Plugin/Condition/OrderIsShippableCondition.php, line 40

Class

OrderIsShippableCondition
Provides 'Order is shippable' condition.

Namespace

Drupal\uc_order\Plugin\Condition

Code

protected function doEvaluate(OrderInterface $order) {
  return $order
    ->isShippable();
}