You are here

public function SpiChangeForm::__construct in Acquia Connector 3.x

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

Constructs a \Drupal\acquia_connector\Form object.

Parameters

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

\Drupal\Core\State\StateInterface $state: The State handler.

Overrides ConfigFormBase::__construct

File

src/Form/SpiChangeForm.php, line 33

Class

SpiChangeForm
Change SPI Data form.

Namespace

Drupal\acquia_connector\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StateInterface $state) {
  parent::__construct($config_factory);
  $this->state = $state;
}