You are here

public function OrderInterface::collectProfiles in Commerce Core 8.2

Collects all profiles that belong to the order.

This includes the billing profile, plus other profiles added by modules through event subscribers (e.g. the shipping profile).

Return value

\Drupal\profile\Entity\ProfileInterface[] The order's profiles, keyed by scope (billing, shipping, etc).

1 method overrides OrderInterface::collectProfiles()
Order::collectProfiles in modules/order/src/Entity/Order.php
Collects all profiles that belong to the order.

File

modules/order/src/Entity/OrderInterface.php, line 160

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function collectProfiles();