public function OrderRefreshInterface::refresh in Commerce Core 8.2
Refreshes the given order.
Any modified order items will be automatically saved. The order itself will not be saved.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
1 method overrides OrderRefreshInterface::refresh()
- OrderRefresh::refresh in modules/
order/ src/ OrderRefresh.php - Refreshes the given order.
File
- modules/
order/ src/ OrderRefreshInterface.php, line 69
Class
- OrderRefreshInterface
- Runs order refresh on draft orders.
Namespace
Drupal\commerce_orderCode
public function refresh(OrderInterface $order);