You are here

public function SetupForm::__construct in Acquia Connector 8

Same name and namespace in other branches
  1. 8.2 src/Form/SetupForm.php \Drupal\acquia_connector\Form\SetupForm::__construct()
  2. 3.x src/Form/SetupForm.php \Drupal\acquia_connector\Form\SetupForm::__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/SetupForm.php, line 37

Class

SetupForm
Acquia Connector setup form.

Namespace

Drupal\acquia_connector\Form

Code

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