You are here

public function ContentHubDeleteClientConfirmForm::__construct in Acquia Content Hub 8.2

ContentHubDeleteClientConfirmForm constructor.

Parameters

\Drupal\acquia_contenthub\ContentHubConnectionManager $ch_connection_manager: The Content Hub connection manager service.

\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: The Client Factory.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: Symfony event dispatcher.

File

src/Form/ContentHubDeleteClientConfirmForm.php, line 66

Class

ContentHubDeleteClientConfirmForm
Class ContentHubDeleteClientConfirmForm.

Namespace

Drupal\acquia_contenthub\Form

Code

public function __construct(ContentHubConnectionManager $ch_connection_manager, ClientFactory $client_factory, EventDispatcherInterface $eventDispatcher) {
  $this->chConnectionManager = $ch_connection_manager;
  $this->clientFactory = $client_factory;
  $this->eventDispatcher = $eventDispatcher;
}