protected function JsonapiHelper::getFileHttpClient in Entity Share 8.2
Same name and namespace in other branches
- 8 modules/entity_share_client/src/Service/JsonapiHelper.php \Drupal\entity_share_client\Service\JsonapiHelper::getFileHttpClient()
Helper function to get the File Http Client.
Return value
\GuzzleHttp\Client A HTTP client to retrieve files.
1 call to JsonapiHelper::getFileHttpClient()
- JsonapiHelper::handlePhysicalFiles in modules/
entity_share_client/ src/ Service/ JsonapiHelper.php - Create or update the entity reference field values of an entity.
File
- modules/
entity_share_client/ src/ Service/ JsonapiHelper.php, line 813
Class
- JsonapiHelper
- Class JsonapiHelper.
Namespace
Drupal\entity_share_client\ServiceCode
protected function getFileHttpClient() {
if (!$this->fileHttpClient) {
$this->fileHttpClient = $this->remoteManager
->prepareClient($this->remote);
}
return $this->fileHttpClient;
}