public function ConfigSyncInitialize::submitForm in Configuration Synchronizer 8
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- src/
Form/ ConfigSyncInitialize.php, line 306
Class
Namespace
Drupal\config_sync\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
// @todo: feed second argument to ::initialize.
$this->configSyncInitializer
->initialize($form_state
->getValue('retain_active_overrides'));
$form_state
->setRedirect('config_sync.import');
}