You are here

public function OrderItemInterface::unsetData in Commerce Core 8.2

Unsets an order item data value with the given key.

Parameters

string $key: The key.

Return value

$this

1 method overrides OrderItemInterface::unsetData()
OrderItem::unsetData in modules/order/src/Entity/OrderItem.php
Unsets an order item data value with the given key.

File

modules/order/src/Entity/OrderItemInterface.php, line 207

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function unsetData($key);