You are here

public function ShipmentStorageInterface::loadMultipleByOrder in Commerce Shipping 8.2

Loads all shipments for the given order.

Parameters

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

Return value

\Drupal\commerce_shipping\Entity\ShipmentInterface[] The shipments.

1 method overrides ShipmentStorageInterface::loadMultipleByOrder()
ShipmentStorage::loadMultipleByOrder in src/ShipmentStorage.php
Loads all shipments for the given order.

File

src/ShipmentStorageInterface.php, line 22

Class

ShipmentStorageInterface
Defines the interface for shipment storage.

Namespace

Drupal\commerce_shipping

Code

public function loadMultipleByOrder(OrderInterface $order);