You are here

public function ClientFactory::getSettings in Acquia Content Hub 8.2

Returns a settings object containing CH credentials and other related info.

Return value

\Acquia\ContentHubClient\Settings ContentHub Client settings.

2 calls to ClientFactory::getSettings()
ClientFactory::getClient in src/Client/ClientFactory.php
Instantiates the content hub client.
ClientFactory::isConfigurationSet in src/Client/ClientFactory.php
Verifies whether Content Hub has been configured or not.

File

src/Client/ClientFactory.php, line 225

Class

ClientFactory
Instantiates an Acquia ContentHub Client object.

Namespace

Drupal\acquia_contenthub\Client

Code

public function getSettings() {
  return $this->settings;
}