You are here

public function OrderRefreshInterface::addPreprocessor in Commerce Core 8.2

Adds an order preprocessor.

Parameters

\Drupal\commerce_order\OrderPreprocessorInterface $processor: The order preprocessor.

1 method overrides OrderRefreshInterface::addPreprocessor()
OrderRefresh::addPreprocessor in modules/order/src/OrderRefresh.php
Adds an order preprocessor.

File

modules/order/src/OrderRefreshInterface.php, line 18

Class

OrderRefreshInterface
Runs order refresh on draft orders.

Namespace

Drupal\commerce_order

Code

public function addPreprocessor(OrderPreprocessorInterface $processor);