You are here

public function ShipmentItemListInterface::removeShipmentItem in Commerce Shipping 8.2

Removes the matching shipment item value.

Parameters

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

Return value

$this

1 method overrides ShipmentItemListInterface::removeShipmentItem()
ShipmentItemList::removeShipmentItem in src/Plugin/Field/FieldType/ShipmentItemList.php
Removes the matching shipment item value.

File

src/Plugin/Field/FieldType/ShipmentItemListInterface.php, line 29

Class

ShipmentItemListInterface
Represents a list of shipment item field values.

Namespace

Drupal\commerce_shipping\Plugin\Field\FieldType

Code

public function removeShipmentItem(ShipmentItemValue $shipment_item);