You are here

public function Locale::getLocaleCode in Commerce Core 8.2

Gets the locale code.

Return value

string The locale code.

File

src/Locale.php, line 33

Class

Locale
Represents a locale.

Namespace

Drupal\commerce

Code

public function getLocaleCode() : string {
  return $this->localeCode;
}