You are here

service currency.locale_resolver in Currency 8.3

Class

Drupal\currency\LocaleResolver
4 string references to currency.locale_resolver
Basic::create in src/Plugin/Currency/AmountFormatter/Basic.php
Creates an instance of the plugin.
BasicTest::testCreate in tests/src/Unit/Plugin/Currency/AmountFormatter/BasicTest.php
@covers ::create @covers ::__construct
CurrencyLocaleWebTest::testUserInterface in tests/src/Functional/Controller/CurrencyLocaleWebTest.php
Tests the user interface.
Intl::create in modules/currency_intl/src/Plugin/Currency/AmountFormatter/Intl.php
Creates an instance of the plugin.

File

./currency.services.yml
currency.services.yml

View source
  1. class: Drupal\currency\LocaleResolver
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@language_manager'
  5. - '@config.factory'
  6. - '@currency.event_dispatcher'