public function SmartlingApi::getAuthorizedLocales in TMGMT Translator Smartling 8
Get list of authorized locales for given file.
Parameters
string $fileUri: Value that uniquely identifies the file.
array $params:
Return value
\Psr\Http\Message\ResponseInterface List of locales authorized in Smartling.
Throws
\Drupal\tmgmt_smartling\Smartling\SmartlingApiException
File
- src/
Smartling/ SmartlingApi.php, line 453
Class
Namespace
Drupal\tmgmt_smartling\SmartlingCode
public function getAuthorizedLocales($fileUri, $params = []) {
$params['fileUri'] = $fileUri;
return $this
->sendRequest('file/authorized_locales', $params, 'GET');
}