You are here

public function OrderPreprocessorInterface::preprocess in Commerce Core 8.2

Preprocesses an order.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

1 method overrides OrderPreprocessorInterface::preprocess()
PromotionOrderProcessor::preprocess in modules/promotion/src/PromotionOrderProcessor.php
Preprocesses an order.

File

modules/order/src/OrderPreprocessorInterface.php, line 22

Class

OrderPreprocessorInterface
Defines an interface for order preprocessors.

Namespace

Drupal\commerce_order

Code

public function preprocess(OrderInterface $order);