You are here

public function ShippingMethodStorageInterface::loadMultipleForShipment in Commerce Shipping 8.2

Loads all eligible shipping methods for the given shipment.

Parameters

\Drupal\commerce_shipping\Entity\ShipmentInterface $shipment: The shipment.

Return value

\Drupal\commerce_shipping\Entity\ShippingMethodInterface[] The shipping methods.

1 method overrides ShippingMethodStorageInterface::loadMultipleForShipment()
ShippingMethodStorage::loadMultipleForShipment in src/ShippingMethodStorage.php
Loads all eligible shipping methods for the given shipment.

File

src/ShippingMethodStorageInterface.php, line 22

Class

ShippingMethodStorageInterface
Defines the interface for shipping method storage.

Namespace

Drupal\commerce_shipping

Code

public function loadMultipleForShipment(ShipmentInterface $shipment);