public function Locale::__toString in Price 8
Same name and namespace in other branches
- 3.x src/Locale.php \Drupal\price\Locale::__toString()
- 2.0.x src/Locale.php \Drupal\price\Locale::__toString()
- 2.x src/Locale.php \Drupal\price\Locale::__toString()
- 3.0.x src/Locale.php \Drupal\price\Locale::__toString()
Gets the string representation of the locale.
Return value
string The string representation of the locale.
File
- src/
Locale.php, line 43
Class
- Locale
- Represents a locale.
Namespace
Drupal\priceCode
public function __toString() {
return $this->localeCode;
}