You are here

service commerce_price.currency_formatter in Commerce Core 8.2

Class

Drupal\commerce_price\CurrencyFormatter
6 string references to commerce_price.currency_formatter
FormattedPrice::getValue in modules/price/src/Plugin/DataType/FormattedPrice.php
Gets the data value.
PaymentListBuilder::createInstance in modules/payment/src/PaymentListBuilder.php
Instantiates a new instance of this entity handler.
PriceCalculatedFormatter::create in modules/price/src/Plugin/Field/FieldFormatter/PriceCalculatedFormatter.php
Creates an instance of the plugin.
PriceCalculatedFormatter::create in modules/order/src/Plugin/Field/FieldFormatter/PriceCalculatedFormatter.php
Creates an instance of the plugin.
PriceDefaultFormatter::create in modules/price/src/Plugin/Field/FieldFormatter/PriceDefaultFormatter.php
Creates an instance of the plugin.

... See full list

File

modules/price/commerce_price.services.yml
modules/price/commerce_price.services.yml

View source
  1. class: Drupal\commerce_price\CurrencyFormatter
  2. arguments:
  3. - '@commerce_price.number_format_repository'
  4. - '@commerce_price.currency_repository'
  5. - '@commerce.current_locale'