You are here

public function OrderRefresh::addProcessor in Commerce Core 8.2

Adds an order processor.

Parameters

\Drupal\commerce_order\OrderProcessorInterface $processor: The order processor.

Overrides OrderRefreshInterface::addProcessor

File

modules/order/src/OrderRefresh.php, line 90

Class

OrderRefresh
Default implementation for order refresh.

Namespace

Drupal\commerce_order

Code

public function addProcessor(OrderProcessorInterface $processor) {
  $this->processors[] = $processor;
}