public function Locale::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Locale.php \Drupal\price\Locale::__construct()
- 2.0.x src/Locale.php \Drupal\price\Locale::__construct()
- 2.x src/Locale.php \Drupal\price\Locale::__construct()
- 3.0.x src/Locale.php \Drupal\price\Locale::__construct()
Constructs a new Locale object.
Parameters
string $locale_code: The locale code.
File
- src/
Locale.php, line 23
Class
- Locale
- Represents a locale.
Namespace
Drupal\priceCode
public function __construct($locale_code) {
$this->localeCode = $locale_code;
}