public function OrderInterface::getDisplayLineItems in Ubercart 8.4
Returns an order's line items ordered by weight, prepared for display.
Return value
array An array of line items, which are arrays containing the following keys:
- type: The line item type.
- title: The line item title.
- amount: The line item amount.
- weight: The line item weight.
1 method overrides OrderInterface::getDisplayLineItems()
- Order::getDisplayLineItems in uc_order/
src/ Entity/ Order.php - Returns an order's line items ordered by weight, prepared for display.
File
- uc_order/
src/ OrderInterface.php, line 56
Class
- OrderInterface
- Provides an interface defining an Ubercart order entity.
Namespace
Drupal\uc_orderCode
public function getDisplayLineItems();