You are here

public function ClientManagerInterface::getConnection in Acquia Content Hub 8

Gets a Content Hub Client Object.

Parameters

array $config: Configuration array.

Return value

\Acquia\ContentHubClient\ContentHub Returns the Content Hub Client

1 method overrides ClientManagerInterface::getConnection()
ClientManager::getConnection in src/Client/ClientManager.php
Function returns the Acquia Content Hub client.

File

src/Client/ClientManagerInterface.php, line 21

Class

ClientManagerInterface
Interface for ClientManager.

Namespace

Drupal\acquia_contenthub\Client

Code

public function getConnection(array $config);