You are here

public function CredentialForm::__construct in Acquia Connector 8

Same name and namespace in other branches
  1. 8.2 src/Form/CredentialForm.php \Drupal\acquia_connector\Form\CredentialForm::__construct()
  2. 3.x src/Form/CredentialForm.php \Drupal\acquia_connector\Form\CredentialForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\acquia_connector\Client $client: The Acquia client.

Overrides ConfigFormBase::__construct

File

src/Form/CredentialForm.php, line 35

Class

CredentialForm
Form for Acquia Credentials.

Namespace

Drupal\acquia_connector\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Client $client) {
  $this->configFactory = $config_factory;
  $this->client = $client;
}