You are here

public function OrderAssignmentInterface::assignMultiple in Commerce Core 8.2

Assigns multiple orders to the given customer.

Parameters

\Drupal\commerce_order\Entity\OrderInterface[] $orders: The orders.

\Drupal\user\UserInterface $customer: The customer.

1 method overrides OrderAssignmentInterface::assignMultiple()
OrderAssignment::assignMultiple in modules/order/src/OrderAssignment.php
Assigns multiple orders to the given customer.

File

modules/order/src/OrderAssignmentInterface.php, line 33

Class

OrderAssignmentInterface
Handles assigning orders to customers.

Namespace

Drupal\commerce_order

Code

public function assignMultiple(array $orders, UserInterface $customer);