public function OrderItemInterface::getOrder in Commerce Core 8.2
Gets the parent order.
Return value
\Drupal\commerce_order\Entity\OrderInterface|null The order, or NULL.
1 method overrides OrderItemInterface::getOrder()
- OrderItem::getOrder in modules/
order/ src/ Entity/ OrderItem.php - Gets the parent order.
File
- modules/
order/ src/ Entity/ OrderItemInterface.php, line 21
Class
- OrderItemInterface
- Defines the interface for order items.
Namespace
Drupal\commerce_order\EntityCode
public function getOrder();