You are here

public function Locale::getLocaleCode in Price 8

Same name and namespace in other branches
  1. 3.x src/Locale.php \Drupal\price\Locale::getLocaleCode()
  2. 2.0.x src/Locale.php \Drupal\price\Locale::getLocaleCode()
  3. 2.x src/Locale.php \Drupal\price\Locale::getLocaleCode()
  4. 3.0.x src/Locale.php \Drupal\price\Locale::getLocaleCode()

Gets the locale code.

Return value

string The locale code.

File

src/Locale.php, line 33

Class

Locale
Represents a locale.

Namespace

Drupal\price

Code

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