You are here

public function ShippingOrderManagerInterface::hasShipments in Commerce Shipping 8.2

Checks if the given order has shipments.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

Return value

bool TRUE if the order has shipments, FALSE otherwise.

1 method overrides ShippingOrderManagerInterface::hasShipments()
ShippingOrderManager::hasShipments in src/ShippingOrderManager.php
Checks if the given order has shipments.

File

src/ShippingOrderManagerInterface.php, line 48

Class

ShippingOrderManagerInterface

Namespace

Drupal\commerce_shipping

Code

public function hasShipments(OrderInterface $order);