public function LingotekInterface::getLocalesInfo in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.4.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
- 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocalesInfo()
Get the available locales on Lingotek with extra information.
Return value
array Array of locales. Empty array if there is an error. The array has the locale as key, and the value is a nested array with the following keys: code, language_code, title, language, country_code, and country.
2 methods override LingotekInterface::getLocalesInfo()
- Lingotek::getLocalesInfo in src/
Lingotek.php - Get the available locales on Lingotek with extra information.
- LingotekFake::getLocalesInfo in tests/
modules/ lingotek_test/ src/ LingotekFake.php - Get the available locales on Lingotek with extra information.
File
- src/
LingotekInterface.php, line 87
Class
Namespace
Drupal\lingotekCode
public function getLocalesInfo();