You are here

public function WebhookEnableForm::__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/Webhook/WebhookEnableForm.php, line 42

Class

WebhookEnableForm
Class WebhookEnableForm.

Namespace

Drupal\acquia_contenthub_publisher\Form\Webhook

Code

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