You are here

public function ClientFormBase::__construct in Acquia Content Hub 8.2

SubscriptionManagerController constructor.

Parameters

\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: The client factory.

File

modules/acquia_contenthub_publisher/src/Form/ClientFormBase.php, line 38

Class

ClientFormBase
The base class for the client form.

Namespace

Drupal\acquia_contenthub_publisher\Form

Code

public function __construct(ClientFactory $client_factory) {
  $this->client = $client_factory
    ->getClient();
}