You are here

public function Widget::getOrderItemTitle in Commerce Pricelist 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.

Overrides PurchasableEntityInterface::getOrderItemTitle

File

tests/modules/commerce_pricelist_test/src/Entity/Widget.php, line 64

Class

Widget
Defines the Widget purchasable entity.

Namespace

Drupal\commerce_pricelist_test\Entity

Code

public function getOrderItemTitle() {
  return NULL;
}