You are here

public function PurchasableEntityInterface::getOrderItemTitle in Commerce Core 8.2

Gets the purchasable entity's order item title.

Saved in the $order_item->title field to protect the order items of completed orders against changes in the referenced purchased entity.

Return value

string The order item title.

1 method overrides PurchasableEntityInterface::getOrderItemTitle()
ProductVariation::getOrderItemTitle in modules/product/src/Entity/ProductVariation.php
Gets the purchasable entity's order item title.

File

src/PurchasableEntityInterface.php, line 44

Class

PurchasableEntityInterface
Defines the interface for purchasable entities.

Namespace

Drupal\commerce

Code

public function getOrderItemTitle();