public function ContentHubSettingsForm::getClient in Acquia Content Hub 8.2
Returns bootstrapped client.
Modules might want to alter the settings form. In some cases a bootstrapped client would come in handy before the end of submission. Get it from the form object.
Return value
\Acquia\ContentHubClient\ContentHubClient|bool The content hub client.
File
- src/
Form/ ContentHubSettingsForm.php, line 73
Class
- ContentHubSettingsForm
- Defines the form to configure the Content Hub connection settings.
Namespace
Drupal\acquia_contenthub\FormCode
public function getClient() {
return $this->client;
}