public function ProductBundle::getOrderItemTitle in Commerce Product Bundle 8
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
- src/
Entity/ ProductBundle.php, line 182
Class
- ProductBundle
- Defines the product bundle entity.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getOrderItemTitle() {
return $this
->label();
}