You are here

public function LingotekInterface::getLocales in Lingotek Translation 3.3.x

Same name and namespace in other branches
  1. 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  2. 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  3. 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  4. 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  5. 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  6. 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  7. 3.4.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  8. 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  9. 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  10. 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()
  11. 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getLocales()

Get the available locales on Lingotek.

Return value

array Array of locales (as in de-DE, es-ES). Empty array if there is an error.

2 methods override LingotekInterface::getLocales()
Lingotek::getLocales in src/Lingotek.php
Get the available locales on Lingotek.
LingotekFake::getLocales in tests/modules/lingotek_test/src/LingotekFake.php
Get the available locales on Lingotek.

File

src/LingotekInterface.php, line 15

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function getLocales();