You are here

public function FormHelperInterface::getCurrencyLocaleOptions in Currency 8.3

Returns an options list of all currency locales.

Parameters

\Drupal\currency\Entity\CurrencyLocaleInterface[]|null $currency_locales: An array of currency locales to limit the options by, or NULL to allow all currency locales to be selected.

Return value

array Keys are locales. Values are human-readable currency locale labels.

1 method overrides FormHelperInterface::getCurrencyLocaleOptions()
FormHelper::getCurrencyLocaleOptions in src/FormHelper.php
Returns an options list of all currency locales.

File

src/FormHelperInterface.php, line 32

Class

FormHelperInterface
Defines form helpers.

Namespace

Drupal\currency

Code

public function getCurrencyLocaleOptions(array $currency_locales = NULL);