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_orderCode
public function addProcessor(OrderProcessorInterface $processor) {
$this->processors[] = $processor;
}