public function SettingsForm::__construct in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/Form/SettingsForm.php \Drupal\acquia_connector\Form\SettingsForm::__construct()
- 3.x src/Form/SettingsForm.php \Drupal\acquia_connector\Form\SettingsForm::__construct()
Constructs a \Drupal\aggregator\SettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\PrivateKey $private_key: The private key.
\Drupal\acquia_connector\Client $client: The Acquia client.
\Drupal\Core\State\State $state: The State handler.
\Drupal\acquia_connector\Controller\SpiController $spi_controller: SPI backend.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 84
Class
- SettingsForm
- Acquia Connector Settings.
Namespace
Drupal\acquia_connector\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, PrivateKey $private_key, Client $client, State $state, SpiController $spi_controller) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->privateKey = $private_key;
$this->client = $client;
$this->state = $state;
$this->spiController = $spi_controller;
}