interface RemoteManagerInterface in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_client/src/Service/RemoteManagerInterface.php \Drupal\entity_share_client\Service\RemoteManagerInterface
- 8.2 modules/entity_share_client/src/Service/RemoteManagerInterface.php \Drupal\entity_share_client\Service\RemoteManagerInterface
Remote manager interface methods.
Hierarchy
- interface \Drupal\entity_share_client\Service\RemoteManagerInterface
Expanded class hierarchy of RemoteManagerInterface
All classes that implement RemoteManagerInterface
1 file declares its use of RemoteManagerInterface
- PullForm.php in modules/
entity_share_client/ src/ Form/ PullForm.php
File
- modules/
entity_share_client/ src/ Service/ RemoteManagerInterface.php, line 10
Namespace
Drupal\entity_share_client\ServiceView source
interface RemoteManagerInterface {
/**
* Prepare an HTTP client authenticated to handle private files.
*
* @param \Drupal\entity_share_client\Entity\RemoteInterface $remote
* The remote website on which to prepare the client.
*
* @return \GuzzleHttp\Client
* An HTTP client with some info from the remote.
*/
public function prepareClient(RemoteInterface $remote);
/**
* Prepare an HTTP client for the JSON API endpoints.
*
* @param \Drupal\entity_share_client\Entity\RemoteInterface $remote
* The remote website on which to prepare the client.
*
* @return \GuzzleHttp\Client
* An HTTP client with some info from the remote.
*/
public function prepareJsonApiClient(RemoteInterface $remote);
/**
* Get the channels infos of a remote website.
*
* @param \Drupal\entity_share_client\Entity\RemoteInterface $remote
* The remote website on which to get the channels infos.
*
* @return array
* An array of channel infos as returned by entity_share_server entry point.
*/
public function getChannelsInfos(RemoteInterface $remote);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RemoteManagerInterface:: |
public | function | Get the channels infos of a remote website. | 1 |
RemoteManagerInterface:: |
public | function | Prepare an HTTP client authenticated to handle private files. | 1 |
RemoteManagerInterface:: |
public | function | Prepare an HTTP client for the JSON API endpoints. | 1 |