You are here

service commerce_order.price_calculator in Commerce Core 8.2

Class

Drupal\commerce_order\PriceCalculator
3 string references to commerce_order.price_calculator
PriceCalculatedFormatter::create in modules/order/src/Plugin/Field/FieldFormatter/PriceCalculatedFormatter.php
Creates an instance of the plugin.
PriceCalculatorPass::process in modules/order/src/DependencyInjection/Compiler/PriceCalculatorPass.php
You can modify the container here before it is dumped to PHP code.
PriceCalculatorTest::setUp in modules/order/tests/src/Kernel/PriceCalculatorTest.php

File

modules/order/commerce_order.services.yml
modules/order/commerce_order.services.yml

View source
  1. class: Drupal\commerce_order\PriceCalculator
  2. arguments:
  3. - '@commerce_order.adjustment_transformer'
  4. - '@commerce_order.chain_order_type_resolver'
  5. - '@commerce_price.chain_price_resolver'
  6. - '@entity_type.manager'
  7. - '@request_stack'