You are here

public function CurrencyLocaleInterface::setLocale in Currency 8.3

Sets the locale.

Parameters

string $language_code:

string $country_code:

Return value

\Drupal\currency\Entity\CurrencyLocaleInterface

See also

self::id()

1 method overrides CurrencyLocaleInterface::setLocale()
CurrencyLocale::setLocale in src/Entity/CurrencyLocale.php
Sets the locale.

File

src/Entity/CurrencyLocaleInterface.php, line 64

Class

CurrencyLocaleInterface
Defines a currency currency locale.

Namespace

Drupal\currency\Entity

Code

public function setLocale($language_code, $country_code);