public function LocaleResolverInterface::resolveCurrencyLocale in Currency 8.3
Loads the locale to use.
Parameters
string $language_type: One of the \Drupal\Core\Language\LanguageInterface\TYPE_* constants.
Return value
\Drupal\currency\Entity\CurrencyLocaleInterface
Throws
\RuntimeException
1 method overrides LocaleResolverInterface::resolveCurrencyLocale()
- LocaleResolver::resolveCurrencyLocale in src/
LocaleResolver.php - Loads the locale to use.
File
- src/
LocaleResolverInterface.php, line 27
Class
- LocaleResolverInterface
- Defines a locale resolver.
Namespace
Drupal\currencyCode
public function resolveCurrencyLocale($language_type = LanguageInterface::TYPE_CONTENT);