public function OrderTotalSummary::__construct in Commerce Core 8.2
Same name in this branch
- 8.2 modules/order/src/OrderTotalSummary.php \Drupal\commerce_order\OrderTotalSummary::__construct()
- 8.2 modules/order/src/Plugin/Field/FieldFormatter/OrderTotalSummary.php \Drupal\commerce_order\Plugin\Field\FieldFormatter\OrderTotalSummary::__construct()
Constructs a new OrderTotalSummary object.
Parameters
\Drupal\commerce_order\AdjustmentTransformerInterface $adjustment_transformer: The adjustment transformer.
File
- modules/
order/ src/ OrderTotalSummary.php, line 22
Class
Namespace
Drupal\commerce_orderCode
public function __construct(AdjustmentTransformerInterface $adjustment_transformer) {
$this->adjustmentTransformer = $adjustment_transformer;
}