You are here

public function ShippingOrderManagerInterface::getProfile in Commerce Shipping 8.2

Gets the shipping profile for the given order.

Parameters

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

Return value

\Drupal\profile\Entity\ProfileInterface|null The shipping profile, or NULL if none found.

1 method overrides ShippingOrderManagerInterface::getProfile()
ShippingOrderManager::getProfile in src/ShippingOrderManager.php
Gets the shipping profile for the given order.

File

src/ShippingOrderManagerInterface.php, line 37

Class

ShippingOrderManagerInterface

Namespace

Drupal\commerce_shipping

Code

public function getProfile(OrderInterface $order);