You are here

public function SmartlingApi::getLocaleList in TMGMT Translator Smartling 8

Get locale list for project.

Return value

array List of locales objects.

Throws

\Drupal\tmgmt_smartling\Smartling\SmartlingApiException

See also

http://docs.smartling.com/pages/API/Projects/

File

src/Smartling/SmartlingApi.php, line 169

Class

SmartlingApi

Namespace

Drupal\tmgmt_smartling\Smartling

Code

public function getLocaleList() {
  return $this
    ->sendRequest('project/locale/list', [], 'GET');
}