You are here

public function WebhooksSettingsForm::__construct in Acquia Content Hub 8

WebhooksSettingsForm constructor.

Parameters

\Drupal\core\Config\ConfigFactoryInterface $config_factory: The client manager.

\Drupal\acquia_contenthub\ContentHubSubscription $contenthub_subscription: The content hub subscription.

Overrides ConfigFormBase::__construct

File

src/Form/WebhooksSettingsForm.php, line 40

Class

WebhooksSettingsForm
Defines the form to register the webhooks.

Namespace

Drupal\acquia_contenthub\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ContentHubSubscription $contenthub_subscription) {
  $this->configFactory = $config_factory;
  $this->contentHubSubscription = $contenthub_subscription;
}