You are here

public function ShipmentInterface::removeItem in Commerce Shipping 8.2

Removes a shipment item.

Parameters

\Drupal\commerce_shipping\ShipmentItem $shipment_item: The shipment item.

Return value

$this

1 method overrides ShipmentInterface::removeItem()
Shipment::removeItem in src/Entity/Shipment.php
Removes a shipment item.

File

src/Entity/ShipmentInterface.php, line 203

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function removeItem(ShipmentItem $shipment_item);