public function ClientManager::getConnection in Acquia Content Hub 8
Function returns the Acquia Content Hub client.
Overrides ClientManagerInterface::getConnection
2 calls to ClientManager::getConnection()
- ClientManager::createRequest in src/
Client/ ClientManager.php - Makes an API Call Request to Acquia Content Hub, with exception handling.
- ClientManager::isConnected in src/
Client/ ClientManager.php - Checks whether the current client has a valid connection to Content Hub.
File
- src/
Client/ ClientManager.php, line 157
Class
- ClientManager
- Provides a service for managing pending server tasks.
Namespace
Drupal\acquia_contenthub\ClientCode
public function getConnection(array $config = []) {
return $this->client;
}