public function LingotekInterface::getLocalesInfo in Lingotek Translation 8.2
Same name and namespace in other branches
- 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.3.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.
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.
- LingotekFake::getLocalesInfo in tests/
modules/ lingotek_test/ src/ LingotekFake.php - Get the available locales on Lingotek.
File
- src/
LingotekInterface.php, line 32
Class
Namespace
Drupal\lingotekCode
public function getLocalesInfo();