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