You are here

public function OrderInterface::removeItem in Commerce Core 8.2

Removes an order item.

Parameters

\Drupal\commerce_order\Entity\OrderItemInterface $order_item: The order item.

Return value

$this

1 method overrides OrderInterface::removeItem()
Order::removeItem in modules/order/src/Entity/Order.php
Removes an order item.

File

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

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function removeItem(OrderItemInterface $order_item);