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
Namespace
Drupal\commerce_shippingCode
public function getProfile(OrderInterface $order);