You are here

public function SmartlingApi::getStatusAllLocales in TMGMT Translator Smartling 8

Retrieve all statuses about file translations progress.

Parameters

string $fileUri:

array $params:

Return value

string

Throws

SmartlingApiException

File

src/Smartling/SmartlingApi.php, line 489

Class

SmartlingApi

Namespace

Drupal\tmgmt_smartling\Smartling

Code

public function getStatusAllLocales($fileUri, $params = []) {
  return $this
    ->sendRequest('file/statuses', array_replace_recursive([
    'fileUri' => $fileUri,
  ], $params), 'GET');
}