public function CheckoutFlowBase::getOrder in Commerce Core 8.2
Gets the current order.
Return value
\Drupal\commerce_order\Entity\OrderInterface The current order.
Overrides CheckoutFlowInterface::getOrder
File
- modules/
checkout/ src/ Plugin/ Commerce/ CheckoutFlow/ CheckoutFlowBase.php, line 150
Class
- CheckoutFlowBase
- Provides the base checkout flow class.
Namespace
Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlowCode
public function getOrder() {
return $this->order;
}